dingxin 5 年 前
コミット
1eb32d7aaf
共有1 個のファイルを変更した2 個の追加0 個の削除を含む
  1. 2
    0
      src/pages/staff/list/addRole.jsx

+ 2
- 0
src/pages/staff/list/addRole.jsx ファイルの表示

@@ -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)