Commit ad533427 by YuleiLan

fix: 修复预览点击禁用后无效的bug。

parent f2316cf5
...@@ -357,9 +357,7 @@ export default { ...@@ -357,9 +357,7 @@ export default {
}) })
} }
if (this.disabled === undefined || this.disabled === null) { if (this.disabled !== undefined && this.disabled !== null) {
this.widget.options.disabled = false
} else {
this.widget.options.disabled = this.disabled this.widget.options.disabled = this.disabled
} }
......
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