diff --git a/buyer/src/vuex/store.js b/buyer/src/vuex/store.js index 105eded6..61a5b9f0 100644 --- a/buyer/src/vuex/store.js +++ b/buyer/src/vuex/store.js @@ -11,7 +11,7 @@ export default new Vuex.Store({ state: { category: [], // 全部分类 navList: [], - cartNum: storage.getItem('cartNum') || 0 + cartNum: storage.getItem('userInfo') ? storage.getItem('cartNum') : 0 }, getters, actions, diff --git a/seller/src/libs/routerJson.js b/seller/src/libs/routerJson.js index 41937a01..29ec21bc 100644 --- a/seller/src/libs/routerJson.js +++ b/seller/src/libs/routerJson.js @@ -405,7 +405,7 @@ export const result = [ type: 0, title: "满额活动", path: "full-cut", - component: "promotion/fullCut/full-cut", + component: "promotion/fullCut/fullCut", icon: "md-person", isMenu: true, url: "", diff --git a/seller/src/router/router.js b/seller/src/router/router.js index eaf49412..133081b5 100644 --- a/seller/src/router/router.js +++ b/seller/src/router/router.js @@ -115,12 +115,12 @@ export const otherRouter = { component: () => import("@/views/order/after-order/reurnGoodsOrderDetail.vue") }, - { - path: "full-cut-detail", - title: "添加满额活动", - name: "full-cut-detail", - component: () => import("@/views/promotion/fullCut/newFullCut.vue") - }, + // { + // path: "full-cut-detail", + // title: "添加满额活动", + // name: "full-cut-detail", + // component: () => import("@/views/promotion/fullCut/newFullCut.vue") + // }, { path: "order-detail", title: "订单详情", diff --git a/seller/src/views/promotion/fullCut/full-cut.vue b/seller/src/views/promotion/fullCut/fullCut.vue similarity index 99% rename from seller/src/views/promotion/fullCut/full-cut.vue rename to seller/src/views/promotion/fullCut/fullCut.vue index 8f3d1cac..3a18d8f7 100644 --- a/seller/src/views/promotion/fullCut/full-cut.vue +++ b/seller/src/views/promotion/fullCut/fullCut.vue @@ -111,6 +111,7 @@