优化代码生成细节

This commit is contained in:
AlanScipio
2024-02-05 18:31:38 +08:00
parent 636e3bce52
commit 6b6658f9a1
18 changed files with 607 additions and 302 deletions

View File

@@ -282,7 +282,7 @@ const { ${dictsNoSymbol} } = proxy.useDict(${dicts});
const ${businessName}List = ref([]);
const ${businessName}Options = ref([]);
const open = ref(false);
const loading = ref(true);
const loading = ref(false);
const showSearch = ref(true);
const title = ref("");
const isExpandAll = ref(true);
@@ -470,5 +470,6 @@ function handleDelete(row) {
}).catch(() => {});
}
getList();
//页面打开时查询
//getList();
</script>

View File

@@ -356,7 +356,7 @@ const ${businessName}List = ref([]);
const ${subclassName}List = ref([]);
#end
const open = ref(false);
const loading = ref(true);
const loading = ref(false);
const showSearch = ref(true);
const ids = ref([]);
#if($table.sub)
@@ -586,5 +586,6 @@ function handleExport() {
}, `${businessName}_#[[${new Date().getTime()}]]#.xlsx`)
}
getList();
//页面打开时查询
//getList();
</script>