no message

This commit is contained in:
STW_TTTY\stwtt 2024-06-28 19:04:04 +07:00
parent b31c3b847c
commit c99fa4493c
3 changed files with 42 additions and 36 deletions

View file

@ -62,9 +62,9 @@ function onClickPopupHistory() {
/** function NextToStep*/
async function onCilckNextStep() {
const functionCreateDoc: (() => Promise<void>) | null =
// store.step === 1
// ? await saveStep1
// :
store.step === 1
? await saveStep1
:
store.step === 3
? await saveStep3
: store.step === 7
@ -231,6 +231,7 @@ async function updateCheckSpec(data: FormSpec) {
*/
function updateFormDetail(data: any) {
formDetail.value = data;
console.log("🚀 ~ updateFormDetail ~ data:", data)
}
/** function เช็คการการคุณสมบัติ*/
function checkSelectForm() {
@ -267,7 +268,7 @@ async function saveStep1() {
country: e.country,
degree: e.degree,
duration: e.duration,
durationYear: e.durationYear.toString(),
durationYear: e.durationYear,
educationLevel: e.educationLevel,
endDate: e.endDate,
field: e.field,