fix: 调整visits=0时显示<0.01的问题
This commit is contained in:
@@ -56,11 +56,12 @@ export default {
|
||||
if (!this.username || !this.pin) {
|
||||
return
|
||||
}
|
||||
// if (!this.blockOperation.query) {
|
||||
// this.blockOperation.query = true
|
||||
// } else {
|
||||
// return
|
||||
// }
|
||||
if (!this.blockOperation.query) {
|
||||
this.blockOperation.query = true
|
||||
} else {
|
||||
return
|
||||
}
|
||||
this.loading = true
|
||||
post('sys/login', { username: this.username, pin: this.pin }).then(
|
||||
res => {
|
||||
if (res.code === 200) {
|
||||
|
||||
Reference in New Issue
Block a user