bug修改
parent
cd86e1de22
commit
9df8a753d4
|
@ -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,
|
||||
|
|
|
@ -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: "",
|
||||
|
|
|
@ -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: "订单详情",
|
||||
|
|
|
@ -111,6 +111,7 @@
|
|||
<script>
|
||||
import { getFullDiscountList, delFullDiscount } from "@/api/promotion.js";
|
||||
export default {
|
||||
name: 'full-cut',
|
||||
data() {
|
||||
return {
|
||||
loading: false, // 表单加载状态
|
||||
|
@ -256,7 +257,7 @@ export default {
|
|||
});
|
||||
},
|
||||
},
|
||||
activated() {
|
||||
activated () {
|
||||
this.init();
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue