bug修改

master
mabo 2021-05-17 10:34:54 +08:00
parent cd86e1de22
commit 9df8a753d4
4 changed files with 10 additions and 9 deletions

View File

@ -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,

View File

@ -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: "",

View File

@ -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: "订单详情",

View File

@ -111,6 +111,7 @@
<script>
import { getFullDiscountList, delFullDiscount } from "@/api/promotion.js";
export default {
name: 'full-cut',
data() {
return {
loading: false, //