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