From bc9effd983d2bf5f6cecde541bb5c8764e9136e2 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Mon, 24 Nov 2025 09:00:33 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20base=20ticket=5Fb=E9=80=80=E5=8C=96?= =?UTF-8?q?=E5=88=B0setTimeout=E5=90=8E=E6=89=A7=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wf/ticketd_b.vue | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/views/wf/ticketd_b.vue b/src/views/wf/ticketd_b.vue index 7f28467c..2d65fece 100644 --- a/src/views/wf/ticketd_b.vue +++ b/src/views/wf/ticketd_b.vue @@ -35,16 +35,16 @@ const props = defineProps({ const workflow = ref(null); const transitions = ref([]); onMounted(async () => { - init(); - watch( - () => props.ticket_, - async (newVal) => { - if (newVal && Object.keys(newVal).length > 0) { - init(); - } - }, - { deep: true } - ) + setTimeout(()=>{init()}, 2000) + // watch( + // () => props.ticket_, + // async (newVal) => { + // if (newVal && Object.keys(newVal).length > 0) { + // init(); + // } + // }, + // { deep: true } + // ) }) const ticketId = ref(null);