Commit 03867190 authored by 田翔's avatar 田翔

fix: 配置修改

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