fix bug
This commit is contained in:
parent
2ff7c5eb91
commit
4e157459fc
1 changed files with 2 additions and 2 deletions
|
|
@ -374,7 +374,7 @@ async function addData() {
|
|||
subId.value = res.data.result;
|
||||
|
||||
fetchData(profileId.value);
|
||||
props.fetchDataPersonal();
|
||||
props?.fetchDataPersonal?.();
|
||||
success($q, "บันทึกข้อมูลสำเร็จ");
|
||||
})
|
||||
.catch((err) => {
|
||||
|
|
@ -396,7 +396,7 @@ function editData(idData: string) {
|
|||
)
|
||||
.then(() => {
|
||||
fetchData(profileId.value);
|
||||
props.fetchDataPersonal();
|
||||
props.fetchDataPersonal?.();
|
||||
success($q, "บันทึกข้อมูลสำเร็จ");
|
||||
})
|
||||
.catch((err) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue