Skip to content

Commit f3c9812

Browse files
author
piexlmax
committed
自动迁移将默认为true
1 parent 044c5f4 commit f3c9812

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

web/src/view/systemTools/autoCode/index.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@ const form = ref({
215215
package: '',
216216
abbreviation: '',
217217
description: '',
218-
autoCreateApiToSql: false,
219-
autoMoveFile: false,
218+
autoCreateApiToSql: true,
219+
autoMoveFile: true,
220220
fields: []
221221
})
222222
const rules = ref({
@@ -415,6 +415,7 @@ const getColumnFunc = async() => {
415415
form.value.abbreviation = tbHump
416416
form.value.description = tbHump + ''
417417
form.value.autoCreateApiToSql = true
418+
form.value.autoMoveFile = true
418419
form.value.fields = []
419420
res.data.columns &&
420421
res.data.columns.forEach(item => {

0 commit comments

Comments
 (0)