MrShi
昨天 825418425a91c4cf95e56c3fbaf06ea9fb5a37d8
mini-program/pages/details/details.vue
@@ -55,7 +55,9 @@
<script>
   import { mapState } from 'vuex'
   import Login from '@/components/login/login.vue'
   export default {
      components: { Login },
      computed: {
         ...mapState(['userInfo'])
      },
@@ -69,7 +71,12 @@
      onLoad(option) {
         this.id = option.id
         this.getDetails()
         this.cardNum()
      },
      onShow() {
         if (this.userInfo) {
            this.cardNum()
         }
      },
      methods: {
         shoucang() {