Compare commits

..

No commits in common. "b56f1e9b3237266134048c4267fe69fa84632fb6" and "ade3cb83987ae9fdab3a1cd49efee313497629c2" have entirely different histories.

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 () => {
setTimeout(()=>{init()}, 2000)
// watch(
// () => props.ticket_,
// async (newVal) => {
// if (newVal && Object.keys(newVal).length > 0) {
// init();
// }
// },
// { deep: true }
// )
init();
watch(
() => props.ticket_,
async (newVal) => {
if (newVal && Object.keys(newVal).length > 0) {
init();
}
},
{ deep: true }
)
})
const ticketId = ref(null);