no message

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-07-25 11:01:31 +07:00
parent 1b6157165a
commit a8dc849917
3 changed files with 34 additions and 7 deletions

View file

@ -102,12 +102,12 @@ const rows = ref<any>([
const filter = ref<string>("");
watch(modal, () => {
if (modal.value === true) {
fecthProfile();
fecthlistRetire();
}
});
const fecthProfile = async () => {
const fecthlistRetire= async () => {
await http
.get(config.API.getprofileRetire("1234"))
.get(config.API.listRetire("1234"))
.then((res) => {
console.log(res);
})
@ -136,7 +136,7 @@ const clickAdd = () => {
messageError($q, e);
})
.finally(() => {
fecthProfile();
fecthlistRetire();
});
})
.onCancel(() => {})