From 5eb61403bb9ccf91324b5128c8c1136b8c3b67e6 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Fri, 10 Apr 2026 11:00:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=8A=A8=E5=AF=BC=E5=85=A5=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/monitor/job/detail.vue | 2 +- src/views/monitor/job/index.vue | 2 +- src/views/monitor/job/log.vue | 2 +- src/views/monitor/logininfor/index.vue | 2 +- src/views/monitor/operlog/detail.vue | 6 ++---- src/views/monitor/operlog/index.vue | 2 +- src/views/system/config/index.vue | 2 +- src/views/system/dept/index.vue | 2 +- src/views/system/dict/data.vue | 2 +- src/views/system/dict/index.vue | 2 +- src/views/system/menu/index.vue | 2 +- src/views/system/notice/index.vue | 2 +- src/views/system/post/index.vue | 2 +- src/views/system/role/authUser.vue | 2 +- src/views/system/role/index.vue | 2 +- src/views/system/role/selectUser.vue | 2 +- src/views/system/user/index.vue | 2 +- src/views/system/user/view.vue | 5 ++--- vite/plugins/auto-import.js | 6 +++++- 19 files changed, 25 insertions(+), 24 deletions(-) diff --git a/src/views/monitor/job/detail.vue b/src/views/monitor/job/detail.vue index f75b85d..ab09d50 100644 --- a/src/views/monitor/job/detail.vue +++ b/src/views/monitor/job/detail.vue @@ -200,7 +200,7 @@ const dialogVisible = computed({ }) const { proxy } = getCurrentInstance() -const { sys_job_group } = proxy.useDict('sys_job_group') +const { sys_job_group } = useDict('sys_job_group') const form = computed(() => props.row || {}) diff --git a/src/views/monitor/job/index.vue b/src/views/monitor/job/index.vue index 511e271..17f5dc7 100644 --- a/src/views/monitor/job/index.vue +++ b/src/views/monitor/job/index.vue @@ -245,7 +245,7 @@ import { listJob, getJob, delJob, addJob, updateJob, runJob, changeJobStatus } f const router = useRouter() const { proxy } = getCurrentInstance() -const { sys_job_group, sys_job_status } = proxy.useDict("sys_job_group", "sys_job_status") +const { sys_job_group, sys_job_status } = useDict("sys_job_group", "sys_job_status") const jobList = ref([]) const open = ref(false) diff --git a/src/views/monitor/job/log.vue b/src/views/monitor/job/log.vue index cc2f3b1..5b2c108 100644 --- a/src/views/monitor/job/log.vue +++ b/src/views/monitor/job/log.vue @@ -143,7 +143,7 @@ import { getJob } from "@/api/monitor/job" import { listJobLog, delJobLog, cleanJobLog } from "@/api/monitor/jobLog" const { proxy } = getCurrentInstance() -const { sys_common_status, sys_job_group } = proxy.useDict("sys_common_status", "sys_job_group") +const { sys_common_status, sys_job_group } = useDict("sys_common_status", "sys_job_group") const jobLogList = ref([]) const open = ref(false) diff --git a/src/views/monitor/logininfor/index.vue b/src/views/monitor/logininfor/index.vue index aa42b52..807fd05 100644 --- a/src/views/monitor/logininfor/index.vue +++ b/src/views/monitor/logininfor/index.vue @@ -128,7 +128,7 @@ import { list, delLogininfor, cleanLogininfor, unlockLogininfor } from "@/api/monitor/logininfor" const { proxy } = getCurrentInstance() -const { sys_common_status } = proxy.useDict("sys_common_status") +const { sys_common_status } = useDict("sys_common_status") const logininforList = ref([]) const loading = ref(true) diff --git a/src/views/monitor/operlog/detail.vue b/src/views/monitor/operlog/detail.vue index e000bc8..6ebc593 100644 --- a/src/views/monitor/operlog/detail.vue +++ b/src/views/monitor/operlog/detail.vue @@ -112,8 +112,6 @@