增加乡村相册兼容
This commit is contained in:
@@ -35,10 +35,10 @@ const app = new Vue({
|
|||||||
...App
|
...App
|
||||||
});
|
});
|
||||||
let params = {}
|
let params = {}
|
||||||
if (sessionStorage.getItem("prj")?.indexOf("saas") > -1) {
|
if (sessionStorage.getItem("prj")?.indexOf("saas") > -1) {//上架版
|
||||||
params = {action: "/app/wxcptp/portal/agentSign", corpId: "ww596787bb70f08288"}
|
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"}
|
params = {action: "/app/wxcptp/portal/agentSign", corpId: "wpytYEDgAAcpXjmlYkYwKO60JDGDWrXg"}
|
||||||
}
|
}
|
||||||
store.dispatch("agentSign", params).finally(() => app.$mount())
|
store.dispatch("agentSign", params).finally(() => app.$mount())
|
||||||
|
|||||||
Reference in New Issue
Block a user