mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-23 15:35:06 +08:00
完善手机密码登录和Vuex状态管理
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
<u-empty mode="car" width="500rpx" height="500rpx" icon="/static/images/empty/cart.png"></u-empty>
|
||||
</view>
|
||||
|
||||
<view class="login-tips-box">
|
||||
<view v-if="!hasLogin" class="login-tips-box">
|
||||
<view class="login-tips">
|
||||
<navigator url="/pages/login/login" open-type="navigate" hover-class="none">
|
||||
<text class="login-link">登录</text>
|
||||
@ -23,7 +23,12 @@ export default {
|
||||
}
|
||||
},
|
||||
onLoad() {},
|
||||
methods: {}
|
||||
methods: {},
|
||||
computed: {
|
||||
hasLogin() {
|
||||
return this.$store.getters.hasLogin
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
Reference in New Issue
Block a user