diff --git a/frontend/src/views/dataset/add/AddCustom.vue b/frontend/src/views/dataset/add/AddCustom.vue index 64031a1c50..f3bcac3f3e 100644 --- a/frontend/src/views/dataset/add/AddCustom.vue +++ b/frontend/src/views/dataset/add/AddCustom.vue @@ -249,10 +249,8 @@ export default { this.table = {} this.checkedList = [] this.unionData = [] - this.height = 500 this.data = [] this.fields = [] - this.customType = ['db', 'sql', 'excel'] } } diff --git a/frontend/src/views/dataset/add/AddSQL.vue b/frontend/src/views/dataset/add/AddSQL.vue index 4cb93f2393..d6b19279a7 100644 --- a/frontend/src/views/dataset/add/AddSQL.vue +++ b/frontend/src/views/dataset/add/AddSQL.vue @@ -307,16 +307,12 @@ export default { resetComponent() { this.dataSource = '' - this.options = [] this.name = '' this.sql = '' this.data = [] this.fields = [] this.mode = '0' this.syncType = 'sync_now' - this.height = 500 - this.kettleRunning = false - this.$refs.plxTable.reloadData(this.data) } } }