Commit e7e23838 by zhaochengxiang

bug fix

parent 38baf97a
......@@ -782,8 +782,8 @@ const ModelTable = (props) => {
{
view !== 'branch' && <PermissionRcItem
id='auth-transfer'
disabled={currentItem?.supportChangeOwner?false:true}
onClick={handleItemClick}
defaultPermission={currentItem?.supportChangeOwner?true:false}
>
权限转移
</PermissionRcItem>
......@@ -791,8 +791,8 @@ const ModelTable = (props) => {
{
view !== 'branch' && <PermissionRcItem
id='auth-share'
disabled={currentItem?.supportCoediting?false:true}
onClick={handleItemClick}
defaultPermission={currentItem?.supportCoediting?true:false}
>
权限共享
</PermissionRcItem>
......
......@@ -225,10 +225,6 @@ const RuleReviewItem = ({ value = {}, onChange }) => {
}
}, [searchValue], { wait: 300 })
React.useEffect(() => {
getUsers()
}, [])
const getUsers = () => {
setLoading(true)
dispatch({
......@@ -414,10 +410,6 @@ const DesignUsersItem = ({ value, onChange }) => {
}
}, [searchValue], { wait: 300 })
React.useEffect(() => {
getUsers()
}, [])
const getUsers = () => {
setLoading(true)
dispatch({
......
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