doum
9 天以前 9c4c0f7e30e66fe54f1b9cdab665b6e4769dbd27
small-program/pages/storage-point/storage-point.vue
@@ -134,6 +134,7 @@
            </view>
         </view>
      </view>
      <auth-login v-if="showLogin" @close="showLogin = false"></auth-login>
   </view>
</template>
@@ -181,11 +182,12 @@
               ]
            },
            pointList: [],
            isRequest: true
            isRequest: true,
            showLogin: false
         }
      },
      computed: {
         ...mapState(['latitude', 'longitude', 'cityId']),
         ...mapState(['latitude', 'longitude', 'cityId', 'token']),
         filterLabels() {
            return {
               sortType: this.getFilterLabel('sortType'),
@@ -378,6 +380,10 @@
            })
         },
         storeLuggage() {
            if (!this.token) {
               this.showLogin = true
               return
            }
            uni.navigateTo({
               url: '/pages/luggage-storage/luggage-storage'
            })