Commit 49682de7 authored by 田翔's avatar 田翔

fix: 编辑状态下系统变量值覆盖

parent ff2f3b3e
{ {
"name": "panda-xform", "name": "panda-xform",
"version": "6.0.44", "version": "6.0.45",
"description": "6.0.44 添加台账自动映射配置", "description": "6.0.45 编辑状态下系统变量值覆盖",
"keywords": [ "keywords": [
"panda-xform" "panda-xform"
], ],
......
...@@ -106,10 +106,10 @@ const TextInput = (props) => { ...@@ -106,10 +106,10 @@ const TextInput = (props) => {
} else { } else {
valueNext = getValueNext() valueNext = getValueNext()
} }
//编辑状态下需要被覆盖 }
if (!disabled) { //编辑状态下需要被覆盖
valueNext = getValueNext() if (loaclPaths.includes(textDefalut) && !disabled) {
} valueNext = getValueNext()
} }
addons.setValue(addons.dataPath, valueNext || '') addons.setValue(addons.dataPath, valueNext || '')
setShowValue(valueNext) setShowValue(valueNext)
......
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 to comment