Commit 4cc9d74a authored by 彭俊龙's avatar 彭俊龙

xform升级

parent ff19f60d
{
"name": "panda-xform",
"version": "6.10.66",
"description": "6.10.66 电子手签画布范围调整,关联选择新增表数据联动",
"version": "6.10.67",
"description": "6.10.67 电子手签画布范围调整,关联选择新增表数据联动",
"keywords": [
"panda-xform"
],
......
......@@ -27,6 +27,11 @@ const RelevanceSelect = (props) => {
}, [addons])
useEffect(() => {
if(sourceType === '表数据' && presetValue){
setTimeout(() => {
getTableData()
}, 100);
}
if (addons) {
addons.setValue(addons.dataPath, presetValue || '')
if(!fieldTableKey && getChildrenSchemaByKey(title)){//表数据类型的父级控件联动子级加载数据
......@@ -35,9 +40,7 @@ const RelevanceSelect = (props) => {
} else {
onChange(presetValue)
}
if(sourceType === '表数据'){
getTableData()
}
}, [presetValue, sourceType])
const selectChange = (value) => {
......
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