คอมเม้น Code ระบบ ลงเวลา
This commit is contained in:
parent
b311f1482b
commit
b202f2ed9d
11 changed files with 80 additions and 63 deletions
|
|
@ -19,12 +19,8 @@ const { fetchList, clearFilter } = leaveStore;
|
|||
onMounted(() => {
|
||||
fecthLeaveList();
|
||||
});
|
||||
/**
|
||||
* เรียกข้อมูลจาก API
|
||||
*/
|
||||
/** เรียกข้อมูลจาก API*/
|
||||
function fecthLeaveList() {
|
||||
console.log(APIDATA.data);
|
||||
|
||||
const data = APIDATA.data;
|
||||
|
||||
fetchList(data); /** ส่งข้อมูลไป stores*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue