chore: 重构代码生成模板

This commit is contained in:
xlsea 2025-05-10 11:48:07 +08:00
parent bfd834e78f
commit a7446028e5
7 changed files with 6 additions and 6 deletions

View File

@ -88,12 +88,12 @@ const genMap: Api.Tool.GenTablePreview = {
'vm/java/controller.java.vm': 'controller.java', 'vm/java/controller.java.vm': 'controller.java',
'vm/xml/mapper.xml.vm': 'mapper.xml', 'vm/xml/mapper.xml.vm': 'mapper.xml',
'vm/sql/sql.vm': 'sql', 'vm/sql/sql.vm': 'sql',
'vm/soybean/api/soy.api.ts.vm': 'api.ts', 'vm/soy/api/api.ts.vm': 'api.ts',
'vm/soybean/typings/soy.api.d.ts.vm': 'type.d.ts', 'vm/soy/typings/api.d.ts.vm': 'type.d.ts',
'vm/soybean/soy.index.vue.vm': 'index.vue', 'vm/soy/index.vue.vm': 'index.vue',
'vm/soybean/soy.index-tree.vue.vm': 'index-tree.vue', 'vm/soy/index-tree.vue.vm': 'index-tree.vue',
'vm/soybean/modules/soy.search.vue.vm': 'search.vue', 'vm/soy/modules/search.vue.vm': 'search.vue',
'vm/soybean/modules/soy.operate-drawer.vue.vm': 'operate-drawer.vue' 'vm/soy/modules/operate-drawer.vue.vm': 'operate-drawer.vue'
}; };
function getGenLanguage(name: string) { function getGenLanguage(name: string) {