This commit is contained in:
shijing 2025-11-24 11:06:11 +08:00
commit 1049053a82
1 changed files with 10 additions and 10 deletions

View File

@ -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);