fix bug
This commit is contained in:
parent
6d8c8e9750
commit
2317839c7a
1 changed files with 2 additions and 2 deletions
|
|
@ -309,7 +309,7 @@ const tittleHistory = ref<string>(
|
|||
);
|
||||
const filterHistory = ref<string>(""); //search data table history
|
||||
const modalHistory = ref<boolean>(false); //modal ประวัติการแก้ไขข้อมูล
|
||||
const profileId = ref<string>(route.params.id.toString());
|
||||
const profileId = ref<string>(route.params.id ? route.params.id.toString():'');
|
||||
const checkValidate = ref<boolean>(false); //validate data ผ่านหรือไม่
|
||||
const rows = ref<RequestItemsObject[]>([]);
|
||||
const filter = ref<string>(""); //search data table
|
||||
|
|
@ -478,7 +478,7 @@ onMounted(async () => {
|
|||
});
|
||||
|
||||
const fetchData = async () => {
|
||||
if (profileId.value) {
|
||||
if (profileId.value!='') {
|
||||
loaderPage(true);
|
||||
await http
|
||||
.get(config.API.profileNopaidId(profileId.value))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue