Commit a84cfc73 authored by Facius's avatar Facius
parents a972b654 07449db4
This diff is collapsed.
...@@ -141,7 +141,11 @@ export default { ...@@ -141,7 +141,11 @@ export default {
bottomLoading: false, bottomLoading: false,
}; };
}, },
watch: {}, watch: {
vuex_token(val){
console.log(val,'vuex_token---------watch')
}
},
computed: { computed: {
buttonStyle() { buttonStyle() {
return { return {
...@@ -170,6 +174,7 @@ export default { ...@@ -170,6 +174,7 @@ export default {
this.triggered = false; this.triggered = false;
}, },
onShow() { onShow() {
// console.log(this.vuex_token,'this.vuex_token')
// 每次进入页面都刷新入驻状态 // 每次进入页面都刷新入驻状态
if (app.globalData.token) { if (app.globalData.token) {
// 初始化入驻信息 // 初始化入驻信息
......
...@@ -30,8 +30,7 @@ ...@@ -30,8 +30,7 @@
<text class="card-item-text">{{ fileInfo[cardkey] }}</text> <text class="card-item-text">{{ fileInfo[cardkey] }}</text>
</view> </view>
<view class="line-view"></view> <view class="line-view"></view>
<view class="card-item-error" v-if="fileInfo[cardkey] <view class="card-item-error" v-if="((cardkey == 'id_card_name' || cardkey == 'id_card_number') && frontErrorMsg)">{{ frontErrorMsg }}</view>
&& ((cardkey == 'id_card_name' || cardkey == 'id_card_number') && frontErrorMsg)">{{frontErrorMsg}}</view>
<view class="card-item-error" v-if="(cardkey == 'id_card_date' && backErrorMsg)">{{ backErrorMsg }}</view> <view class="card-item-error" v-if="(cardkey == 'id_card_date' && backErrorMsg)">{{ backErrorMsg }}</view>
</view> </view>
</view> </view>
......
...@@ -21,6 +21,6 @@ export default { ...@@ -21,6 +21,6 @@ export default {
} }
}, },
computed: { computed: {
...mapState(['ddd']) ...mapState($uStoreKey)
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment