增加乡村相册兼容

This commit is contained in:
aixianling
2022-06-15 16:06:41 +08:00
parent ca1967cabc
commit c3d440d1f7

View File

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