diff --git a/frontend/package.json b/frontend/package.json index abaab1bdb3..a131c3b570 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -18,7 +18,7 @@ "@riophae/vue-treeselect": "0.4.0", "axios": "^0.21.1", "core-js": "^2.6.5", - "echarts": "^5.0.2", + "echarts": "^5.0.1", "element-resize-detector": "^1.2.2", "element-ui": "2.13.0", "file-saver": "^2.0.5", @@ -58,8 +58,8 @@ "eslint": "5.15.3", "eslint-plugin-vue": "5.2.2", "html-webpack-plugin": "3.2.0", - "less": "^4.1.1", - "less-loader": "^8.0.0", + "less": "^3.0.0", + "less-loader": "^5.0.0", "mockjs": "1.0.1-beta3", "runjs": "^4.1.3", "sass": "^1.32.5", diff --git a/frontend/src/components/widget/DeWidget/DeSelect.vue b/frontend/src/components/widget/DeWidget/DeSelect.vue index c25fccc52b..cb9e8d8326 100644 --- a/frontend/src/components/widget/DeWidget/DeSelect.vue +++ b/frontend/src/components/widget/DeWidget/DeSelect.vue @@ -62,12 +62,13 @@ export default { created() { this.options = this.element.options - this.setCondition() + // this.setCondition() }, mounted() { - this.$nextTick(() => { - - }) + // this.$nextTick(() => { + // this.options && this.options.value && this.changeValue(this.options.value) + // }) + this.options && this.options.value && this.changeValue(this.options.value) }, methods: { changeValue(value) { diff --git a/frontend/src/components/widget/serviceImpl/TextSelectServiceImpl.js b/frontend/src/components/widget/serviceImpl/TextSelectServiceImpl.js index 61d378baea..a915ba308c 100644 --- a/frontend/src/components/widget/serviceImpl/TextSelectServiceImpl.js +++ b/frontend/src/components/widget/serviceImpl/TextSelectServiceImpl.js @@ -27,7 +27,7 @@ const drawPanel = { type: 'custom', style: { width: 300, - height: 47, + height: 38, fontSize: 14, fontWeight: 500, lineHeight: '',