fix:修改现场大屏只能由供应商登录

This commit is contained in:
Vce 2024-06-19 21:13:25 +08:00
parent a278b720e5
commit 52d7a7fdd2

View File

@ -122,15 +122,13 @@ const login = (formEl: FormInstance | undefined) => {
// router.push("/commandScreen");
router.push("/agjtProjectKanban");
} else if (COMPANY === "agjtLive") {
router.push("/agjtLiveScreen");
if (![5, 10, 11].includes(result.accountType)) {
if (![11].includes(result.accountType)) {
ElMessage({
message: "账号类型不匹配",
type: "warning"
});
return;
}
// router.push("/commandScreen");
router.push("/agjtLiveScreen");
} else if (COMPANY === "agjtOverview") {
} else if (COMPANY === "agjtOverviewScreen") {