flag
This commit is contained in:
@@ -82,8 +82,14 @@ export default {
|
|||||||
this.$u.toast(`打卡成功`)
|
this.$u.toast(`打卡成功`)
|
||||||
this.getToday()
|
this.getToday()
|
||||||
this.getList()
|
this.getList()
|
||||||
|
} else {
|
||||||
|
this.flag = false
|
||||||
|
this.$u.toast(res.msg)
|
||||||
}
|
}
|
||||||
}).catch(err=> this.$u.toast(err))
|
}).catch(err=> {
|
||||||
|
this.flag = false
|
||||||
|
this.$u.toast(err)
|
||||||
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
@@ -101,7 +107,7 @@ export default {
|
|||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.AppSignIn {
|
.AppSignIn {
|
||||||
background: url('./img/bg.png') no-repeat;
|
background: url('./img/bg.png') no-repeat;
|
||||||
background-size: contain;
|
background-size: 100% auto;
|
||||||
padding: 32px 32px;
|
padding: 32px 32px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
|
|||||||
Reference in New Issue
Block a user