chore: install prettier

This commit is contained in:
Viet An
2026-05-04 15:22:27 +07:00
parent 93d29ca7d8
commit bd58e2b847
267 changed files with 22950 additions and 13581 deletions

View File

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