ตรวจสอบคุณสมบัติ ประเมิน
This commit is contained in:
parent
5686d287c5
commit
971a9be260
2 changed files with 9 additions and 1 deletions
|
|
@ -636,6 +636,7 @@ onMounted(async () => {
|
|||
v-if="store.step === 1"
|
||||
@update:spec="updateCheckSpec"
|
||||
:data="formDataStep1"
|
||||
:educations="formDetail?.educations"
|
||||
/>
|
||||
<Step2
|
||||
v-if="store.step === 2"
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ const props = defineProps({
|
|||
},
|
||||
});
|
||||
|
||||
const education = ref<any>();
|
||||
const emit = defineEmits(["update:spec"]);
|
||||
|
||||
const modal = ref<boolean>(false);
|
||||
|
|
@ -74,6 +75,12 @@ function closeModal() {
|
|||
/**hook lifecycle*/
|
||||
onMounted(() => {
|
||||
props.data && fetchCheckSpec(props.data);
|
||||
|
||||
setTimeout(() => {
|
||||
education.value = props.educations
|
||||
? props.educations
|
||||
: props.data?.educations;
|
||||
}, 100);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
@ -216,7 +223,7 @@ onMounted(() => {
|
|||
:modal="modal"
|
||||
:show="show"
|
||||
:close-modal="closeModal"
|
||||
:educations="educations"
|
||||
:educations="education"
|
||||
/>
|
||||
</template>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue