Browse Source

我的店铺返回上一页改为返回首页

hangb 8 years ago
parent
commit
5b2908c1ec
1 changed files with 4 additions and 4 deletions
  1. 4 4
      components/store/CommodityList.vue

+ 4 - 4
components/store/CommodityList.vue

@@ -97,7 +97,7 @@
                 </div>
                 <div class="col-xs-4 txt-info">
                   <p class="grey f16">暂无器件信息</p>
-                  <i class="iconfont">&#xe610;</i>&nbsp;<a @click="goBack()">返回上一页</a>
+                  <i class="iconfont">&#xe610;</i>&nbsp;<a href="/">返回首页</a>
                 </div>
               </div>
             </td>
@@ -197,10 +197,10 @@ export default {
     handleCurrentChange (page) {
       this.pageParams.page = page
       this.pageCommodity(this.pageParams, this.ids, this.searchCode)
-    },
-    goBack () {
-      this.$router.back(-1)
     }
+//    goBack () {
+//      this.$router.back(-1)
+//    }
   }
 }
 </script>