提交 89c3e6fe authored 作者: fit2cloud-chenyw's avatar fit2cloud-chenyw

fix: 【ID1003951】【仪表盘】文本多选下拉框组件显示错位

上级 c3a92934
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
"@riophae/vue-treeselect": "0.4.0", "@riophae/vue-treeselect": "0.4.0",
"axios": "^0.21.1", "axios": "^0.21.1",
"core-js": "^2.6.5", "core-js": "^2.6.5",
"echarts": "^5.0.2", "echarts": "^5.0.1",
"element-resize-detector": "^1.2.2", "element-resize-detector": "^1.2.2",
"element-ui": "2.13.0", "element-ui": "2.13.0",
"file-saver": "^2.0.5", "file-saver": "^2.0.5",
...@@ -58,8 +58,8 @@ ...@@ -58,8 +58,8 @@
"eslint": "5.15.3", "eslint": "5.15.3",
"eslint-plugin-vue": "5.2.2", "eslint-plugin-vue": "5.2.2",
"html-webpack-plugin": "3.2.0", "html-webpack-plugin": "3.2.0",
"less": "^4.1.1", "less": "^3.0.0",
"less-loader": "^8.0.0", "less-loader": "^5.0.0",
"mockjs": "1.0.1-beta3", "mockjs": "1.0.1-beta3",
"runjs": "^4.1.3", "runjs": "^4.1.3",
"sass": "^1.32.5", "sass": "^1.32.5",
......
...@@ -62,12 +62,13 @@ export default { ...@@ -62,12 +62,13 @@ export default {
created() { created() {
this.options = this.element.options this.options = this.element.options
this.setCondition() // this.setCondition()
}, },
mounted() { 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: { methods: {
changeValue(value) { changeValue(value) {
......
...@@ -27,7 +27,7 @@ const drawPanel = { ...@@ -27,7 +27,7 @@ const drawPanel = {
type: 'custom', type: 'custom',
style: { style: {
width: 300, width: 300,
height: 47, height: 38,
fontSize: 14, fontSize: 14,
fontWeight: 500, fontWeight: 500,
lineHeight: '', lineHeight: '',
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论