@@ -130,6 +130,10 @@ const handleConfirm = () => {
};
onMounted(() => {
+ if(localStorage.getItem("SET_USER_CUR_ROLE") == 2){
+ router.replace('/home');
+ return;
+ }
getRoleList();
if (route.query.miniJson) {
const data = JSON.parse(route.query.miniJson);