fixed:修复表名是大写字母开头时,自动化代码异常问题。

This commit is contained in:
zsc 2024-12-12 10:44:29 +08:00
parent 69ddb2ddff
commit 2fad117fdc
1 changed files with 2 additions and 2 deletions

View File

@ -1326,8 +1326,8 @@
const tbHump = toHump(dbform.value.tableName)
form.value.structName = toUpperCase(tbHump)
form.value.tableName = dbform.value.tableName
form.value.packageName = tbHump
form.value.abbreviation = tbHump
form.value.packageName = toLowerCase(tbHump)
form.value.abbreviation = toLowerCase(tbHump)
form.value.description = tbHump + '表'
form.value.autoCreateApiToSql = true
form.value.fields = []