From 025d8b106ba2e47c5494e38daf284f6efbf16c39 Mon Sep 17 00:00:00 2001 From: lz-ui Date: Thu, 16 Oct 2025 15:59:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E4=B8=8B=E6=8B=89=E4=B8=BA=E7=A9=BA=E6=98=AF=E9=87=8D=E6=96=B0?= =?UTF-8?q?=E8=AF=B7=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/operation/configModels/index.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/operation/configModels/index.vue b/src/views/operation/configModels/index.vue index 0f819f0..28b1d7e 100644 --- a/src/views/operation/configModels/index.vue +++ b/src/views/operation/configModels/index.vue @@ -193,6 +193,9 @@ function reset() { /** 打开新增/编辑弹窗 */ function openDialog(type = 'add', row = {}) { + if (modelsOptions.value.length === 0) { + getModelList() + } if (type === 'add') { dialogTitle.value = '新增' } else if (type === 'edit') {