diff --git a/src/store/modules/app.js b/src/store/modules/app.js index 990519a..63612d6 100644 --- a/src/store/modules/app.js +++ b/src/store/modules/app.js @@ -68,8 +68,9 @@ const getters = { const defaultValues = { start_time: '', // 搜索条件 起始时间 end_time: '', // 搜索条件 结束时间 - status: [], // 搜索条件 订单状态 - back: [], // 搜索条件 退款状态 + main_status: [], // 搜索条件 主状态 + shipment_status: [], // 搜索条件 执行状态 + refund_status: [], // 搜索条件 退款状态 search: ['orderId', '']// 搜索条件 搜索 } // 深层合并 state.orderSerch 和默认值 取值得时候对象里面如果有得属性 会被保留 没有得会用defaultValues的属性进行填充