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,11 +106,11 @@ const TextInput = (props) => { ...@@ -106,11 +106,11 @@ const TextInput = (props) => {
} else { } else {
valueNext = getValueNext() valueNext = getValueNext()
} }
}
//编辑状态下需要被覆盖 //编辑状态下需要被覆盖
if (!disabled) { if (loaclPaths.includes(textDefalut) && !disabled) {
valueNext = getValueNext() valueNext = getValueNext()
} }
}
addons.setValue(addons.dataPath, valueNext || '') addons.setValue(addons.dataPath, valueNext || '')
setShowValue(valueNext) setShowValue(valueNext)
if (isStoreID && valueNext) { if (isStoreID && 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