From 6d7ef7cf5d126cdfc1b46aa54277bcb363a159ac Mon Sep 17 00:00:00 2001 From: guanj Date: Thu, 29 Jan 2026 14:10:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BB=88=E7=AB=AF=E5=9E=8B?= =?UTF-8?q?=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/admin/components/globalPopUp.vue | 2 +- src/views/system/modelManage/index.vue | 15 ++++++++++----- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/layouts/admin/components/globalPopUp.vue b/src/layouts/admin/components/globalPopUp.vue index 47d2bbae..4404c384 100644 --- a/src/layouts/admin/components/globalPopUp.vue +++ b/src/layouts/admin/components/globalPopUp.vue @@ -79,7 +79,7 @@ const init = async () => { // 设置消息接收回调 mqttClient.onMessage((topic, message) => { const msg = JSON.parse(message.toString()) - console.log('🚀 ~ init ~ msg:', msg) + // console.log('🚀 ~ init ~ msg:', msg) if (msg.deptList.includes(adminInfo.$state.deptId)) { drawer.value = true isLoading.value = true diff --git a/src/views/system/modelManage/index.vue b/src/views/system/modelManage/index.vue index 6963adc7..7919b6da 100644 --- a/src/views/system/modelManage/index.vue +++ b/src/views/system/modelManage/index.vue @@ -82,7 +82,8 @@ const tableStore: any = new TableStore({ { field: 'updateBy', title: '修改人' }, { field: 'updateTime', title: '修改时间' }, { - title: '操作',fixed: 'right', + title: '操作', + fixed: 'right', width: '220', render: 'buttons', buttons: [ @@ -147,9 +148,13 @@ const okRun = () => { }) } onMounted(() => { - getIcdList().then(res => { - options.value = res.data - }) - tableStore.index() + getIcdList() + .then(res => { + options.value = res.data + tableStore.index() + }) + .catch(err => { + tableStore.index() + }) })