Commit d13c8ab7 by zhaochengxiang

bug fix

parent 247d23cb
...@@ -176,7 +176,6 @@ const FC = (props) => { ...@@ -176,7 +176,6 @@ const FC = (props) => {
} }
React.useEffect(() => { React.useEffect(() => {
getPermissions()
getElements() getElements()
getResourceSortingStatus() getResourceSortingStatus()
getResourceRelatedMetadataStatus() getResourceRelatedMetadataStatus()
...@@ -210,6 +209,7 @@ const FC = (props) => { ...@@ -210,6 +209,7 @@ const FC = (props) => {
React.useEffect(() => { React.useEffect(() => {
if (node) { if (node) {
getPermissions()
setRow() setRow()
setSelectedRows([]) setSelectedRows([])
if (locationIdRef.current && locationDidRef.current) { if (locationIdRef.current && locationDidRef.current) {
......
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