REVIEW 定时任务(列表)

This commit is contained in:
YunaiV
2023-04-01 09:14:59 +08:00
parent cebe6f93db
commit f8878f7a76
7 changed files with 131 additions and 173 deletions

View File

@@ -107,7 +107,7 @@ const formRules = reactive({
const formRef = ref() // 表单 Ref
/** 打开弹窗 */
const openModal = async (type: string, id?: number) => {
const open = async (type: string, id?: number) => {
modelVisible.value = true
modelTitle.value = t('action.' + type)
formType.value = type
@@ -122,7 +122,7 @@ const openModal = async (type: string, id?: number) => {
}
}
}
defineExpose({ openModal }) // 提供 openModal 方法,用于打开弹窗
defineExpose({ open }) // 提供 open 方法,用于打开弹窗
/** cron表达式按钮操作 */
const handleShowCron = () => {