From 89c3e6fe040a2b5dcb794f9b2a74ede6bdbd175b Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Thu, 10 Jun 2021 16:39:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E3=80=90ID1003951=E3=80=91=E3=80=90?= =?UTF-8?q?=E4=BB=AA=E8=A1=A8=E7=9B=98=E3=80=91=E6=96=87=E6=9C=AC=E5=A4=9A?= =?UTF-8?q?=E9=80=89=E4=B8=8B=E6=8B=89=E6=A1=86=E7=BB=84=E4=BB=B6=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E9=94=99=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/package.json | 6 +++--- frontend/src/components/widget/DeWidget/DeSelect.vue | 9 +++++---- .../widget/serviceImpl/TextSelectServiceImpl.js | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) 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: '',