fix: 数据集从编辑切换至添加界面的显示问题

This commit is contained in:
junjie 2021-07-28 13:40:38 +08:00
parent 4d0165f46a
commit 6a8f5511c3
2 changed files with 0 additions and 6 deletions

View File

@ -249,10 +249,8 @@ export default {
this.table = {} this.table = {}
this.checkedList = [] this.checkedList = []
this.unionData = [] this.unionData = []
this.height = 500
this.data = [] this.data = []
this.fields = [] this.fields = []
this.customType = ['db', 'sql', 'excel']
} }
} }

View File

@ -307,16 +307,12 @@ export default {
resetComponent() { resetComponent() {
this.dataSource = '' this.dataSource = ''
this.options = []
this.name = '' this.name = ''
this.sql = '' this.sql = ''
this.data = [] this.data = []
this.fields = [] this.fields = []
this.mode = '0' this.mode = '0'
this.syncType = 'sync_now' this.syncType = 'sync_now'
this.height = 500
this.kettleRunning = false
this.$refs.plxTable.reloadData(this.data)
} }
} }
} }