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

This commit is contained in:
fit2cloud-chenyw 2021-06-10 16:39:48 +08:00
parent c3a929345b
commit 89c3e6fe04
3 changed files with 9 additions and 8 deletions

View File

@ -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 @@
"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",

View File

@ -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) {

View File

@ -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: '',