@@ -54,6 +54,13 @@ const props = defineProps({
}
})
-const talentTags = ref(props.data?.talentTags || [])
+const talentTags = ref([])
+watch(
+ () => props.data,
+ () => {
+ talentTags.value = props.data?.talentTags || []
+ },
+ { immediate: true }
+)
</script>