feat: base ticket_b退化到setTimeout后执行
This commit is contained in:
parent
2b63930012
commit
bc9effd983
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue