代码生成更新
This commit is contained in:
@@ -221,7 +221,7 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
activeName: 'first', tableName: '', tableHeight: 550, columnLoading: false, configLoading: false, dicts: [], syncLoading: false, genLoading: false,
|
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: {
|
rules: {
|
||||||
author: [
|
author: [
|
||||||
{ required: true, message: '作者不能为空', trigger: 'blur' }
|
{ required: true, message: '作者不能为空', trigger: 'blur' }
|
||||||
@@ -250,7 +250,7 @@ export default {
|
|||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.init()
|
this.init()
|
||||||
get(this.tableName).then(data => {
|
get(this.tableName).then(data => {
|
||||||
console.log(data)
|
console.log('datas', data)
|
||||||
this.form = data
|
this.form = data
|
||||||
this.form.cover = this.form.cover.toString()
|
this.form.cover = this.form.cover.toString()
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user