|
|
|
@ -10,7 +10,7 @@ export default {
|
|
|
|
window.onmessage = e => {
|
|
|
|
window.onmessage = e => {
|
|
|
|
if (!e.data.id) return;
|
|
|
|
if (!e.data.id) return;
|
|
|
|
sessionStorage.setItem("postMessage", e.data.id);
|
|
|
|
sessionStorage.setItem("postMessage", e.data.id);
|
|
|
|
if (e.data.userInfo) {
|
|
|
|
if (e.data.userInfo && e.data.userInfo.id) {
|
|
|
|
if (
|
|
|
|
if (
|
|
|
|
e.data.userInfo.permissionList.some(
|
|
|
|
e.data.userInfo.permissionList.some(
|
|
|
|
item => item.rights === "duojiSystem"
|
|
|
|
item => item.rights === "duojiSystem"
|
|
|
|
|