This commit is contained in:
Viet An
2026-06-11 11:50:11 +07:00
parent a5a88b3b1c
commit 069ea1002c
20 changed files with 112 additions and 474 deletions

View File

@@ -1,22 +1,21 @@
export default defineNuxtPlugin(async (nuxtApp) => {
const { $getapi, $readyapi } = nuxtApp;
const connlist = $readyapi([
"datatype",
"common",
"tablesetting",
"datatype",
"filtertype",
"sorttype",
"settingtype",
"settingclass",
"settingchoice",
"filterchoice",
"colorchoice",
"sharechoice",
"menuchoice",
"textalign",
"placement",
"colorscheme",
"filtertype",
"sorttype",
"tablesetting",
"settingchoice",
"sharechoice",
"menuchoice",
"settingtype",
"settingclass",
"sex",
]);
const notReadyConns = connlist.filter((v) => !v.ready);
if (notReadyConns.length > 0) await $getapi(notReadyConns);