fix
This commit is contained in:
parent
246e2caf96
commit
e9029b88d4
1 changed files with 4 additions and 3 deletions
|
|
@ -228,13 +228,12 @@ const filter = ref<string>("");
|
|||
|
||||
/** function เรียกรอบการเสนอขอพระราชทานเครื่องราช*/
|
||||
async function fecthRound() {
|
||||
// showLoader();
|
||||
showLoader();
|
||||
await http
|
||||
.get(config.API.noteround())
|
||||
.then(async (res) => {
|
||||
let data = res.data.result;
|
||||
console.log(data);
|
||||
|
||||
|
||||
if (data.length !== 0) {
|
||||
selectRoundOption.value = data.map((e: any) => ({
|
||||
name: "รอบการเสนอขอพระราชทานเครื่องราชฯ ปี" + " " + (e.year + 543),
|
||||
|
|
@ -247,6 +246,8 @@ async function fecthRound() {
|
|||
})
|
||||
.catch((err) => {
|
||||
messageError($q, err);
|
||||
})
|
||||
.finally(() => {
|
||||
hideLoader();
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue