diff --git a/frontend/package.json b/frontend/package.json index 9cadee7c56..a4ecbb5dd3 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -28,6 +28,7 @@ "svg-sprite-loader": "4.1.3", "svgo": "1.2.2", "vue": "2.6.10", + "vue-codemirror": "^4.0.6", "vue-i18n": "7.3.2", "vue-router": "3.0.6", "vuedraggable": "^2.24.3", diff --git a/frontend/src/views/chart/view/ChartEdit.vue b/frontend/src/views/chart/view/ChartEdit.vue index 7aa484402d..1085f3d544 100644 --- a/frontend/src/views/chart/view/ChartEdit.vue +++ b/frontend/src/views/chart/view/ChartEdit.vue @@ -291,10 +291,10 @@ export default { this.removeCheckedKey(e) this.save() }, + // 右边往左边拖动时的事件 start2(e) { console.log(e) }, - // 右边往左边拖动时的事件 end2(e) { console.log(e) this.removeDuplicateKey(e) diff --git a/frontend/src/views/dataset/add/AddSQL.vue b/frontend/src/views/dataset/add/AddSQL.vue index 4d716fd4a4..f527948670 100644 --- a/frontend/src/views/dataset/add/AddSQL.vue +++ b/frontend/src/views/dataset/add/AddSQL.vue @@ -27,24 +27,84 @@ /> + + + + + + + +