Commit 03867190 authored by 田翔's avatar 田翔

fix: 配置修改

parent c0cbdeba
{ {
"name": "panda-xform", "name": "panda-xform",
"version": "5.4.7", "version": "5.4.8",
"description": "5.4.7 本人信息bug修复", "description": "5.4.8 配置修改",
"keywords": [ "keywords": [
"panda-xform" "panda-xform"
], ],
......
...@@ -188,7 +188,7 @@ const textWidgets = [ ...@@ -188,7 +188,7 @@ const textWidgets = [
default: false, default: false,
displayType: 'row', displayType: 'row',
labelWidth: 120, labelWidth: 120,
hidden: "{{!['【本人姓名】','【本人部门】'].includes(rootValue.presetValue) }}", // hidden: "{{!['【本人姓名】','【本人部门】'].includes(rootValue.presetValue) }}",
disabled: disabled, disabled: disabled,
dependencies: ['presetValue', 'tableTypeParent', 'IsSystemField'], dependencies: ['presetValue', 'tableTypeParent', 'IsSystemField'],
}, },
......
...@@ -16,13 +16,13 @@ const BooleanSwitch = (props) => { ...@@ -16,13 +16,13 @@ const BooleanSwitch = (props) => {
addons.setValue('isMultiple', false) addons.setValue('isMultiple', false)
} }
} }
if (widget === 'TextInput') { // if (widget === 'TextInput') {
if (schema.$id === 'isStoreID') { // if (schema.$id === 'isStoreID') {
if (value) { // if (value) {
addons.setValue('disabled', true) // addons.setValue('disabled', true)
} // }
} // }
} // }
}, [value]) }, [value])
return ( return (
......
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