Commit c7604009 by zhaochengxiang

bug fix

parent 529982bb
......@@ -145,6 +145,7 @@ const FC = (props) => {
const $$assetDirectorySubject = AssetDirectorySubject.subscribe((props) => {
if (props.type === 'element-change') {
getElements()
getAssets()
}
})
......@@ -914,7 +915,10 @@ const FC = (props) => {
type: undefined,
reference: undefined
})
refresh && getElements()
if (refresh) {
getElements()
getAssets()
}
}}
/>
<FilterElementValue
......
......@@ -187,6 +187,7 @@ const FC = (props) => {
const $$assetDirectorySubject = AssetDirectorySubject.subscribe((props) => {
if (props.type === 'element-change') {
getElements()
getAssets()
}
})
......@@ -720,7 +721,7 @@ const FC = (props) => {
const onFilterElementClick = () => {
setFilterElementParams({
visible: true,
type: (type === ResourceManageReference) ? 'admin' : 'user',
type: 'admin',
reference: type
})
}
......@@ -1346,7 +1347,10 @@ const FC = (props) => {
type: undefined,
reference: undefined
})
refresh && getElements()
if (refresh) {
getElements()
getAssets()
}
}}
/>
<FilterElementValue
......
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