Commit 8dfa3606 by Mr. Lan

fix bug.

parent 251356b3
......@@ -300,8 +300,7 @@ export default {
// label width
if (this.widget.options.labelWidthDisabled) {
this.widgetLabelWidth = this.widget.options.labelWidth
} else if (this.widget.type==='grid' ||
this.widget.type==='divider' ||
} else if (this.widget.type==='divider' ||
(this.widget.type==='text' && this.widget.options.textLabelStatus===false)) {
this.widgetLabelWidth = 0
} else {
......
......@@ -270,7 +270,7 @@ export default {
}
if (status) {
this.elementLabelWidth = this.element.options.labelWidth
} else if (this.element.type==='grid' || this.element.type==='divider' || (this.element.type==='text' && element.options.textLabelStatus===false)) {
} else if (this.element.type==='divider' || (this.element.type==='text' && element.options.textLabelStatus===false)) {
this.elementLabelWidth = 0
} else {
// 全局
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment