Skip to content

Commit

Permalink
fixed:修复表名是大写字母开头时,自动化代码异常问题。
Browse files Browse the repository at this point in the history
  • Loading branch information
zsc committed Dec 12, 2024
1 parent 69ddb2d commit 2fad117
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/view/systemTools/autoCode/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down

0 comments on commit 2fad117

Please sign in to comment.