dingxin 5 lat temu
rodzic
commit
1eb32d7aaf
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2
    0
      src/pages/staff/list/addRole.jsx

+ 2
- 0
src/pages/staff/list/addRole.jsx Wyświetl plik

@@ -131,7 +131,9 @@ const Poster = props => {
131 131
   }
132 132
 
133 133
   function updateAuthMenu(data) {
134
+    setLoading(true)
134 135
     request({ ...apis.role.updateAuthMenu, data: { ...data } }).then((data) => {
136
+      setLoading(false)
135 137
       toRoleList()
136 138
   }).catch((err) => {
137 139
       console.log(err)