代码生成更新

This commit is contained in:
2022-12-13 11:30:48 +08:00
parent 734bc006c9
commit 412f9c7cb9

View File

@@ -221,7 +221,7 @@ export default {
data() {
return {
activeName: 'first', tableName: '', tableHeight: 550, columnLoading: false, configLoading: false, dicts: [], syncLoading: false, genLoading: false,
form: { config_id: null, tableName: '', author: '', pack: '', path: '', moduleName: '', cover: '0', apiPath: '', prefix: '', apiAlias: null },
form: { config_id: null, table_name: '', author: '', pack: '', path: '', module_name: '', cover: '0', api_path: '', prefix: '', api_alias: null },
rules: {
author: [
{ required: true, message: '作者不能为空', trigger: 'blur' }
@@ -250,7 +250,7 @@ export default {
this.$nextTick(() => {
this.init()
get(this.tableName).then(data => {
console.log(data)
console.log('datas', data)
this.form = data
this.form.cover = this.form.cover.toString()
})