Преглед на файлове

修改会员页面展示

xiaozhen преди 6 години
родител
ревизия
967238fae4
променени са 1 файла, в които са добавени 4 реда и са изтрити 1 реда
  1. 4 1
      pages/type/vip/index.vue

+ 4 - 1
pages/type/vip/index.vue

@@ -45,6 +45,9 @@ export default {
   async mounted() {
     await this.getList();
     this.getVipDetail();
+    if (this.isPC){
+      location.href="/#vip";
+    }
   },
   methods: {
     async getList() {
@@ -68,4 +71,4 @@ export default {
 </script>
 
 <style>
-</style>
+</style>