{lazyLoad(node,data)}">
@@ -51,7 +51,7 @@
style="font-size: 14px; -webkit-transform:scale(0.75);display:inline-block;">
+ :props="{emitPath:false}" :options="metricOptions" @change="metricChangeNew">
{lazyLoad(node,data)}">
@@ -285,6 +285,16 @@ export default {
cb(result)
},
metricChange: function (value) {
+ if (!value) return
+ this.expressionList[this.index] = value
+ // this.insertText(value)
+ // this.$refs.editor.setContent(value)
+ this.dropDownVisible = false
+ this.$emit('change', value)
+ this.$forceUpdate()
+ this.cascaderValue = ''
+ },
+ metricChangeNew (value) {
if (!value) return
// this.expressionList[this.index] = value
this.insertText(value)