This is an automated email from the ASF dual-hosted git repository.

xxyu pushed a commit to branch kylin5
in repository https://gitbox.apache.org/repos/asf/kylin.git

commit c9b1adaa253464bf09333e86adbe0608c2f3a3a1
Author: Qian Xia <lauraxiaq...@gmail.com>
AuthorDate: Thu Jun 15 17:25:45 2023 +0800

    KYLIN-5592 remove keyup event
---
 kystudio/src/components/studio/StudioModel/ModelEdit/model.js       | 2 +-
 kystudio/src/components/studio/StudioModel/TableJoinModal/index.vue | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/kystudio/src/components/studio/StudioModel/ModelEdit/model.js 
b/kystudio/src/components/studio/StudioModel/ModelEdit/model.js
index ebef7523cc..51a63c014d 100644
--- a/kystudio/src/components/studio/StudioModel/ModelEdit/model.js
+++ b/kystudio/src/components/studio/StudioModel/ModelEdit/model.js
@@ -125,7 +125,7 @@ class NModel extends Schama {
       const foreignKeys = joinInfo && joinInfo.join.foreign_key
       const isBrokenLine = this.checkIsBrokenModelLink(targetId, sourceId, 
primaryKeys, foreignKeys)
 
-      this.vm.listenTableLink(info)
+      // this.vm.listenTableLink(info)
 
       setTimeout(() => {
         source && (source.className += isBrokenLine ? ' is-broken is-focus' : 
' is-focus')
diff --git 
a/kystudio/src/components/studio/StudioModel/TableJoinModal/index.vue 
b/kystudio/src/components/studio/StudioModel/TableJoinModal/index.vue
index 109b2f7038..db0a9f8452 100644
--- a/kystudio/src/components/studio/StudioModel/TableJoinModal/index.vue
+++ b/kystudio/src/components/studio/StudioModel/TableJoinModal/index.vue
@@ -676,6 +676,7 @@ export default class TableJoinModal extends Vue {
   }
   compareJoinCondition (data) {
     // if (!this.joinConditionBackUp && data.joinType === 'LEFT') return false
+    if (!data) return false
     let newData = JSON.parse(JSON.stringify(data))
     delete newData.anti_flatten_lookups
     delete newData.anti_flatten_cc

Reply via email to