ปิด api ที่ยังไม่ได่ใช้
This commit is contained in:
parent
6ab1a862d6
commit
a61dfb8789
6 changed files with 109 additions and 96 deletions
|
|
@ -333,20 +333,20 @@ onMounted(async () => {
|
|||
|
||||
const fetchQualification = async () => {
|
||||
// loader.value = true;
|
||||
await http
|
||||
.get(config.API.educationQualification)
|
||||
.then((res) => {
|
||||
const data = res.data.result
|
||||
let option: DataOption[] = []
|
||||
data.map((r: any) => {
|
||||
option.push({ id: r.id.toString(), name: r.name.toString() })
|
||||
})
|
||||
qualificationOptions.value = option
|
||||
})
|
||||
.catch((e: any) => {})
|
||||
.finally(() => {
|
||||
// loader.value = false;
|
||||
})
|
||||
// await http
|
||||
// .get(config.API.educationQualification)
|
||||
// .then((res) => {
|
||||
// const data = res.data.result
|
||||
// let option: DataOption[] = []
|
||||
// data.map((r: any) => {
|
||||
// option.push({ id: r.id.toString(), name: r.name.toString() })
|
||||
// })
|
||||
// qualificationOptions.value = option
|
||||
// })
|
||||
// .catch((e: any) => {})
|
||||
// .finally(() => {
|
||||
// // loader.value = false;
|
||||
// })
|
||||
}
|
||||
|
||||
const fetchData = async () => {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue