|
@@ -566,7 +566,11 @@ export default {
|
|
|
});
|
|
|
break;
|
|
|
case 10022:
|
|
|
- location.replace(data.url + "&yun=" + this.yun);
|
|
|
+ location.replace(
|
|
|
+ `${data.url}&yun=${this.yun}&isreplace=${
|
|
|
+ window.navigator.standalone ? 1 : 0
|
|
|
+ }`
|
|
|
+ );
|
|
|
break;
|
|
|
case 10023:
|
|
|
location.assign(data.url);
|
|
@@ -737,7 +741,7 @@ export default {
|
|
|
},
|
|
|
async created() {
|
|
|
let uuid = localStorage.getItem("uuids");
|
|
|
- let { yun, bid, cid, uuids, sendid = 0 } = this.$route.query;
|
|
|
+ let { yun, bid, cid, uuids, sendid = 0, isreplace = 0 } = this.$route.query;
|
|
|
if (sendid) localStorage.setItem("sendid", this.$route.query.sendid);
|
|
|
this.uuids = uuids || uuid;
|
|
|
if (yun) this.yun = yun;
|
|
@@ -751,7 +755,13 @@ export default {
|
|
|
if (token) {
|
|
|
setUserMode(Number(window.navigator.standalone) || 0).then(res => {});
|
|
|
}
|
|
|
- if (yun=='1' && window.firstName == this.$route.name && window.navigator.standalone) {
|
|
|
+
|
|
|
+ if (
|
|
|
+ yun == "1" &&
|
|
|
+ window.firstName == this.$route.name &&
|
|
|
+ window.navigator.standalone &&
|
|
|
+ isreplace != "1"
|
|
|
+ ) {
|
|
|
let sare = await getRecentReader();
|
|
|
|
|
|
if (sare.bid && sare.cid != cid) {
|