Browse Source

贷款-会员注册页状态保持优化

panyong 4 years ago
parent
commit
f350da9a75
1 changed files with 3 additions and 6 deletions
  1. 3 6
      htmldev/loan/src/views/loan/register/index.vue

+ 3 - 6
htmldev/loan/src/views/loan/register/index.vue

@@ -65,11 +65,8 @@
             <span class="label-city" v-for="(str, index) in '城市:城市'" :key="index">{{ str }}</span>
           </label>
           <div class="value-wrap" @click="showPicker0 = true">
-            <p class="value-city" v-show="postData.orderUserProvince">{{
-                postData.orderUserProvince +
-                postData.orderUserCity +
-                postData.orderUserDistrict
-              }}</p>
+            <p class="value-city" v-show="postData.orderUserProvince">
+              {{ postData.orderUserProvince + postData.orderUserCity + postData.orderUserDistrict }}</p>
             <p class="value-city init" v-show="!postData.orderUserProvince">请选择所在城市</p>
             <img class="icon_next" src="./image/btn_next@2x.png" alt="">
           </div>
@@ -507,7 +504,7 @@ export default {
     if (['loanPrivacy', 'loanVipAgreement'].includes(to.name)) {
       from.meta.isUseCache = true
     }
-    if (this.checkMyBenfits === 1) {
+    if (this.checkMyBenfits === 1 && !['loanPrivacy', 'loanVipAgreement'].includes(to.name)) {
       this.$store.commit('loan/UPDATE_CHECKMYBENFITS_VALUE', 0)
     }
     this.numPositionY = this.scroll ? this.scroll.y : 0