调整了--的位置

This commit is contained in:
luyuan 2020-11-16 11:02:33 +08:00
parent 15903d525e
commit c493582885
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3

View File

@ -23,8 +23,8 @@ export function countadd(){
}
export function countdel(){
if(count != 0){
count--;
setTimeout(()=>{
count--;
if(count == 0){
login();
div.style.display = "none"
@ -45,8 +45,8 @@ axios.interceptors.request.use((config)=>{
axios.interceptors.response.use((response)=>{
// console.log(response)
if(count != 0){
count--;
setTimeout(()=>{
count--;
if(count == 0){
login();
div.style.display = "none"