mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-25 14:17:54 +08:00
优化代码
This commit is contained in:
parent
15bfd8476d
commit
bb4e910638
@ -1361,6 +1361,7 @@
|
||||
vc.removeData("JAVA110_IS_BACK");
|
||||
let beforeTime = _back;
|
||||
let _date = new Date();
|
||||
//10 秒内有效
|
||||
if (_date.getTime() - beforeTime < 10 * 1000) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user