This commit is contained in:
shijingjing
2023-02-09 17:35:14 +08:00
parent 24658a4034
commit 7398557d6b

View File

@@ -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;