Ver código fonte

UI样式修改

xinfeng 5 anos atrás
pai
commit
036eebc40e

Diferenças do arquivo suprimidas por serem muito extensas
+ 19 - 15
assets/css/otherpage/kaifain/myKaifain.scss


+ 3 - 3
pages/otherpage/kaifain/myKaifain.vue

@@ -193,9 +193,9 @@
     watch: {},
     computed: {
       calcUserVip() {
-        const { isVip, vipTypeID } = this.$store.state.userinfo
-        if (isVip && Number(vipTypeID) <= 3) {
-          return { [ 'vip' + vipTypeID ]: isVip }
+        const { is_vip, vip_type_id } = this.$store.state.userinfo || {}
+        if (is_vip && Number(vip_type_id) <= 3) {
+          return { [ 'vip' + vip_type_id ]: is_vip }
         } else {
           return {}
         }