增加 druid 解析 sql,用于后续生成代码

This commit is contained in:
YunaiV
2021-02-13 01:23:52 +08:00
parent 0c8f92fa95
commit 8d6b14bc9c
3 changed files with 142 additions and 0 deletions

View File

@ -294,6 +294,11 @@ export default {
},
/** 选择生成模板触发 */
tplSelectChange(value) {
if (value !== 1) {
// TODO 芋艿:暂时不考虑支持树形结构
this.msgError('暂时不考虑支持【树形】和【主子表】的代码生成。原因是:导致 vm 模板过于复杂,不利于胖友二次开发');
return false;
}
if(value !== 'sub') {
this.info.subTableName = '';
this.info.subTableFkName = '';