fix(richedit): 修正移动端用户类型判断逻辑
扩展用户类型判断条件,将类型02用户也重定向到移动端页面
This commit is contained in:
parent
11144f2fa7
commit
60010e9841
|
|
@ -794,7 +794,7 @@ async function doNewReturnFn(item) {
|
|||
|
||||
// 页面加载时
|
||||
onMounted(async () => {
|
||||
if (isMobileByWidth() && Session.get('userInfoLocal').userType == '01') {
|
||||
if (isMobileByWidth() && (Session.get('userInfoLocal').userType == '01' || Session.get('userInfoLocal').userType == '02')) {
|
||||
router.push('/richeditMobile');
|
||||
}
|
||||
NextLoading.done();
|
||||
|
|
|
|||
Loading…
Reference in New Issue