Compare commits
No commits in common. "fe98115a5e8b71b31a2416a225d5610d7da4bcd7" and "3844d2db6440fe0843b586f2a2e490dc8cedbe89" have entirely different histories.
fe98115a5e
...
3844d2db64
|
@ -174,7 +174,6 @@ export default {
|
||||||
interceptCode: [ ...interceptCode ],
|
interceptCode: [ ...interceptCode ],
|
||||||
passCode: [ ...passCode ],
|
passCode: [ ...passCode ],
|
||||||
pollSwitch: false, // 同步轮询开关,暂定关闭,保留逻辑
|
pollSwitch: false, // 同步轮询开关,暂定关闭,保留逻辑
|
||||||
visibilityStatus: false,
|
|
||||||
|
|
||||||
showData: ['31', '32', '33', '2', '1'] as Array<any>, // 区分 列表 和 详情
|
showData: ['31', '32', '33', '2', '1'] as Array<any>, // 区分 列表 和 详情
|
||||||
pageData: new Map([['31', []], ['32', []], ['33', []], ['2', []], ['1', []]]),
|
pageData: new Map([['31', []], ['32', []], ['33', []], ['2', []], ['1', []]]),
|
||||||
|
@ -318,8 +317,6 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
// 可见性
|
// 可见性
|
||||||
visibilityFunc() {
|
visibilityFunc() {
|
||||||
if (this.visibilityStatus) return;
|
|
||||||
this.visibilityStatus = true;
|
|
||||||
const that = this;
|
const that = this;
|
||||||
document.addEventListener('visibilitychange', function () {
|
document.addEventListener('visibilitychange', function () {
|
||||||
const visibilityState = document.visibilityState;
|
const visibilityState = document.visibilityState;
|
||||||
|
@ -691,7 +688,6 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
beforeUnmount() {
|
beforeUnmount() {
|
||||||
this.visibilityStatus = false;
|
|
||||||
document.removeEventListener('visibilitychange', this.visibilityFunc);
|
document.removeEventListener('visibilitychange', this.visibilityFunc);
|
||||||
this.codeTime && clearInterval(this.codeTime);
|
this.codeTime && clearInterval(this.codeTime);
|
||||||
this.codeTime = null;
|
this.codeTime = null;
|
||||||
|
|
|
@ -143,7 +143,6 @@ export default {
|
||||||
passCode: [ ...passCode ],
|
passCode: [ ...passCode ],
|
||||||
weekArray: [ ...weekArray ],
|
weekArray: [ ...weekArray ],
|
||||||
pollSwitch: false, // 同步轮询开关,暂定关闭,保留逻辑
|
pollSwitch: false, // 同步轮询开关,暂定关闭,保留逻辑
|
||||||
visibilityStatus: false,
|
|
||||||
|
|
||||||
bgDefault: 'https://lsxdmgoss.oss-cn-chengdu.aliyuncs.com/MarketingSystem/image/front/common_img_main_1.png',
|
bgDefault: 'https://lsxdmgoss.oss-cn-chengdu.aliyuncs.com/MarketingSystem/image/front/common_img_main_1.png',
|
||||||
bgInput: 'https://lsxdmgoss.oss-cn-chengdu.aliyuncs.com/MarketingSystem/image/front/zfb-red-banner.png',
|
bgInput: 'https://lsxdmgoss.oss-cn-chengdu.aliyuncs.com/MarketingSystem/image/front/zfb-red-banner.png',
|
||||||
|
@ -193,8 +192,6 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
// 可见性
|
// 可见性
|
||||||
visibilityFunc() {
|
visibilityFunc() {
|
||||||
if (this.visibilityStatus) return;
|
|
||||||
this.visibilityStatus = true;
|
|
||||||
const that = this;
|
const that = this;
|
||||||
document.addEventListener('visibilitychange', function () {
|
document.addEventListener('visibilitychange', function () {
|
||||||
const visibilityState = document.visibilityState;
|
const visibilityState = document.visibilityState;
|
||||||
|
@ -364,7 +361,6 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
beforeUnmount() {
|
beforeUnmount() {
|
||||||
this.visibilityStatus = false;
|
|
||||||
document.removeEventListener('visibilitychange', this.visibilityFunc);
|
document.removeEventListener('visibilitychange', this.visibilityFunc);
|
||||||
this.pollTime && clearTimeout(this.pollTime);
|
this.pollTime && clearTimeout(this.pollTime);
|
||||||
this.pollTime = 'end';
|
this.pollTime = 'end';
|
||||||
|
|
|
@ -117,7 +117,6 @@ export default {
|
||||||
passCode: [ ...passCode ],
|
passCode: [ ...passCode ],
|
||||||
weekArray: [ ...weekArray ],
|
weekArray: [ ...weekArray ],
|
||||||
pollSwitch: false, // 同步轮询开关,暂定关闭,保留逻辑
|
pollSwitch: false, // 同步轮询开关,暂定关闭,保留逻辑
|
||||||
visibilityStatus: false,
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
@ -131,8 +130,6 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
// 可见性
|
// 可见性
|
||||||
visibilityFunc() {
|
visibilityFunc() {
|
||||||
if (this.visibilityStatus) return;
|
|
||||||
this.visibilityStatus = true;
|
|
||||||
const that = this;
|
const that = this;
|
||||||
document.addEventListener('visibilitychange', function () {
|
document.addEventListener('visibilitychange', function () {
|
||||||
const visibilityState = document.visibilityState;
|
const visibilityState = document.visibilityState;
|
||||||
|
@ -293,7 +290,6 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
beforeUnmount() {
|
beforeUnmount() {
|
||||||
this.visibilityStatus = false;
|
|
||||||
document.removeEventListener('visibilitychange', this.visibilityFunc);
|
document.removeEventListener('visibilitychange', this.visibilityFunc);
|
||||||
this.pollTime && clearTimeout(this.pollTime);
|
this.pollTime && clearTimeout(this.pollTime);
|
||||||
this.pollTime = 'end';
|
this.pollTime = 'end';
|
||||||
|
|
Loading…
Reference in New Issue