ปรับ code รายการลา Table

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-11-30 14:21:53 +07:00
parent 60ddcf5789
commit 9412454760
3 changed files with 68 additions and 132 deletions

View file

@ -13,7 +13,6 @@ const mixin = useCounterMixin();
const { showLoader, hideLoader, messageError, date2Thai, monthYear2Thai } =
mixin;
const LeaveData = useLeaveStore();
const { fecthList } = LeaveData;
const $q = useQuasar();
@ -36,6 +35,7 @@ async function fetchDataTable() {
.post(config.API.leaveTableList(), body)
.then((res) => {
console.log(res);
const data = res.data.result.data;
})
.catch((err) => {
messageError($q, err);