From 6299b23f1a8533af83b138e15bf9ed63dd2e0e99 Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Mon, 30 Dec 2024 19:23:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20v-model=E5=A4=84=E7=90=86=E6=9C=89?= =?UTF-8?q?=E5=BB=B6=E8=BF=9F=20=E9=9C=80=E8=A6=81=E6=89=8B=E5=8A=A8?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/workflow/processDefinition/index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/workflow/processDefinition/index.vue b/src/views/workflow/processDefinition/index.vue index 619dbb7..f17717b 100644 --- a/src/views/workflow/processDefinition/index.vue +++ b/src/views/workflow/processDefinition/index.vue @@ -294,12 +294,14 @@ const getTreeselect = async () => { categoryOptions.value = res.data; }; const handleClick = (tab: TabsPaneContext, event: Event) => { + // v-model处理有延迟 需要手动处理 + activeName.value = tab.index; handleQuery(); }; /** 搜索按钮操作 */ const handleQuery = () => { queryParams.value.pageNum = 1; - if (activeName.value === '1') { + if (activeName.value === '0') { getList(); } else { getUnPublishList();