เพิ่ม API รายการลา

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-11-29 15:59:17 +07:00
parent e8bcbe5fff
commit 3546ce0ebc
3 changed files with 29 additions and 8 deletions

View file

@ -1,5 +1,7 @@
<script setup lang="ts">
import { ref, reactive, onMounted } from "vue";
import http from "@/plugins/http";
import config from "@/app.config";
import type { DateFilter } from "@/modules/09_leave/interface/request/leave";
import type {
@ -106,6 +108,14 @@ const optionStatusMain = ref<DataOption[]>(
async function fetchOption() {
console.log("loadOption รอ API");
// await http
// .get(config.API.leaveType())
// .then((res) => {
// console.log(res);
// })
// .catch((err) => {
// console.log(err);
// });
}
/**