增加乡村相册兼容

This commit is contained in:
aixianling
2022-06-15 16:06:22 +08:00
parent 3034cf5f87
commit ca1967cabc

View File

@@ -35,8 +35,11 @@ const app = new Vue({
...App
});
let params = {}
if (sessionStorage.getItem("prj")?.indexOf("saas") > -1 || /AppCountryAlbum/.test(location.pathname)) {
if (sessionStorage.getItem("prj")?.indexOf("saas") > -1) {
params = {action: "/app/wxcptp/portal/agentSign", corpId: "ww596787bb70f08288"}
}
if (/AppCountryAlbum/.test(location.pathname)) {
params = {action: "/app/wxcptp/portal/agentSign", corpId: "wpytYEDgAAcpXjmlYkYwKO60JDGDWrXg"}
}
store.dispatch("agentSign", params).finally(() => app.$mount())