mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-06 17:36:42 +08:00
提交
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 411 KiB After Width: | Height: | Size: 412 KiB |
@@ -127,7 +127,7 @@ export default {
|
||||
mounted() {
|
||||
//控制弹出窗口的代码
|
||||
let now = new Date() //当前时间
|
||||
let end = new Date('2022/06/29 00:00:00') //对比时间
|
||||
let end = new Date('2022/08/07 00:00:00') //对比时间
|
||||
if(now.getTime() < end.getTime()){
|
||||
let times = localStorage.getItem(this.signLocalTimesKey);
|
||||
let isNewLogin=localStorage.getItem(this.$Constants.newLoginKey);
|
||||
@@ -137,9 +137,8 @@ export default {
|
||||
this.signInShow = true;//显示
|
||||
localStorage.setItem(this.signLocalTimesKey,1);
|
||||
}else{
|
||||
//console.log(times,'times');
|
||||
let intTimes=parseInt(times);
|
||||
if(intTimes<3){
|
||||
if(intTimes<2){
|
||||
this.signInShow = true;//显示
|
||||
intTimes++;
|
||||
localStorage.setItem(this.signLocalTimesKey,intTimes);
|
||||
|
||||
Reference in New Issue
Block a user