+
{{ item.data[0] }}
-
-
- {{ chart.data.series[0].name }}
-
+
+
+
+ {{ chart.data.series[0].name }}
+
+
diff --git a/frontend/src/views/chart/components/shape-attr/ColorSelector.vue b/frontend/src/views/chart/components/shape-attr/ColorSelector.vue
index 0ba06b3b66..f499f1cc66 100644
--- a/frontend/src/views/chart/components/shape-attr/ColorSelector.vue
+++ b/frontend/src/views/chart/components/shape-attr/ColorSelector.vue
@@ -46,12 +46,12 @@
-
-
-
+
+
+
diff --git a/frontend/src/views/dataset/data/CalcFieldEdit.vue b/frontend/src/views/dataset/data/CalcFieldEdit.vue
index 99b2eb0427..da5ec00115 100644
--- a/frontend/src/views/dataset/data/CalcFieldEdit.vue
+++ b/frontend/src/views/dataset/data/CalcFieldEdit.vue
@@ -86,7 +86,7 @@
:disabled="true"
>
-
+
@@ -106,7 +106,7 @@
:disabled="true"
>
-
+
@@ -314,6 +314,13 @@ export default {
pos2.ch = pos1.ch
this.$refs.myCm.codemirror.replaceRange(param, pos2)
},
+ insertFieldToCodeMirror(param) {
+ const pos1 = this.$refs.myCm.codemirror.getCursor()
+ const pos2 = {}
+ pos2.line = pos1.line
+ pos2.ch = pos1.ch
+ this.$refs.myCm.codemirror.replaceRange(param, pos2)
+ },
initFunctions() {
post('/dataset/function/listByTableId/' + this.param.id, null).then(response => {