แก้ fetch data ทะเบียน

This commit is contained in:
Kittapath 2023-07-11 10:16:51 +07:00
parent e4f153b654
commit dc05b4740c
18 changed files with 158 additions and 125 deletions

View file

@ -162,7 +162,9 @@ const $q = useQuasar(); // show dialog
const mixin = useCounterMixin();
const route = useRoute();
const { success, messageError } = mixin;
const profileId = ref<string>(route.params.id.toString());
const profileId = ref<string>(
route.params.id ? route.params.id.toString() : ""
);
const edit = ref<boolean>(false);
const uploader = ref<any>();
const files = ref<any>([]);