bug修改
parent
cd86e1de22
commit
9df8a753d4
|
@ -11,7 +11,7 @@ export default new Vuex.Store({
|
||||||
state: {
|
state: {
|
||||||
category: [], // 全部分类
|
category: [], // 全部分类
|
||||||
navList: [],
|
navList: [],
|
||||||
cartNum: storage.getItem('cartNum') || 0
|
cartNum: storage.getItem('userInfo') ? storage.getItem('cartNum') : 0
|
||||||
},
|
},
|
||||||
getters,
|
getters,
|
||||||
actions,
|
actions,
|
||||||
|
|
|
@ -405,7 +405,7 @@ export const result = [
|
||||||
type: 0,
|
type: 0,
|
||||||
title: "满额活动",
|
title: "满额活动",
|
||||||
path: "full-cut",
|
path: "full-cut",
|
||||||
component: "promotion/fullCut/full-cut",
|
component: "promotion/fullCut/fullCut",
|
||||||
icon: "md-person",
|
icon: "md-person",
|
||||||
isMenu: true,
|
isMenu: true,
|
||||||
url: "",
|
url: "",
|
||||||
|
|
|
@ -115,12 +115,12 @@ export const otherRouter = {
|
||||||
component: () =>
|
component: () =>
|
||||||
import("@/views/order/after-order/reurnGoodsOrderDetail.vue")
|
import("@/views/order/after-order/reurnGoodsOrderDetail.vue")
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
path: "full-cut-detail",
|
// path: "full-cut-detail",
|
||||||
title: "添加满额活动",
|
// title: "添加满额活动",
|
||||||
name: "full-cut-detail",
|
// name: "full-cut-detail",
|
||||||
component: () => import("@/views/promotion/fullCut/newFullCut.vue")
|
// component: () => import("@/views/promotion/fullCut/newFullCut.vue")
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
path: "order-detail",
|
path: "order-detail",
|
||||||
title: "订单详情",
|
title: "订单详情",
|
||||||
|
|
|
@ -111,6 +111,7 @@
|
||||||
<script>
|
<script>
|
||||||
import { getFullDiscountList, delFullDiscount } from "@/api/promotion.js";
|
import { getFullDiscountList, delFullDiscount } from "@/api/promotion.js";
|
||||||
export default {
|
export default {
|
||||||
|
name: 'full-cut',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
loading: false, // 表单加载状态
|
loading: false, // 表单加载状态
|
||||||
|
@ -256,7 +257,7 @@ export default {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
activated() {
|
activated () {
|
||||||
this.init();
|
this.init();
|
||||||
}
|
}
|
||||||
};
|
};
|
Loading…
Reference in New Issue