Merge branch 'dev' into 8683-vnSelectSortByOptionLabel
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
commit
ec013d34d7
|
@ -16,9 +16,7 @@ export const useDescriptorStore = defineStore('descriptorStore', () => {
|
||||||
for (const file in files) {
|
for (const file in files) {
|
||||||
const name = file.split('/').at(-1).slice(0, -19).toLowerCase();
|
const name = file.split('/').at(-1).slice(0, -19).toLowerCase();
|
||||||
const descriptor = moduleParser[name] ?? name;
|
const descriptor = moduleParser[name] ?? name;
|
||||||
currentDescriptors[descriptor + 'Fk'] = defineAsyncComponent(
|
currentDescriptors[descriptor + 'Fk'] = defineAsyncComponent(files[file]);
|
||||||
() => import(/* @vite-ignore */ file),
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
setDescriptors(currentDescriptors);
|
setDescriptors(currentDescriptors);
|
||||||
return currentDescriptors;
|
return currentDescriptors;
|
||||||
|
|
Loading…
Reference in New Issue