调整了--的位置
This commit is contained in:
parent
15903d525e
commit
c493582885
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user