From b28e2926bb707741832ba658a8d305295f12ea8b Mon Sep 17 00:00:00 2001 From: tk Date: Mon, 1 Jul 2024 16:22:57 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=B1=BB=09=E5=9E=8B=E3=80=91?= =?UTF-8?q?=EF=BC=9Arefactor=20=E3=80=90=E4=B8=BB=09=E9=A2=98=E3=80=91?= =?UTF-8?q?=EF=BC=9A=E6=90=9C=E7=B4=A2=E7=BC=93=E5=AD=98=20=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=20=E2=80=9C=E6=89=A7=E8=A1=8C=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E2=80=9D=20=E3=80=90=E6=8F=8F=09=E8=BF=B0=E3=80=91=EF=BC=9A=20?= =?UTF-8?q?=09[=E5=8E=9F=E5=9B=A0]=EF=BC=9A=E6=A0=B9=E6=8D=AE=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=AD=97=E6=AE=B5=E6=9B=B4=E6=94=B9=20=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E6=89=A7=E8=A1=8C=E7=8A=B6=E6=80=81=20=09[=E8=BF=87?= =?UTF-8?q?=E7=A8=8B]=EF=BC=9A=20=09[=E5=BD=B1=E5=93=8D]=EF=BC=9A=20?= =?UTF-8?q?=E3=80=90=E7=BB=93=09=E6=9D=9F=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # 类型 包含: # feat:新功能(feature) # fix:修补bug # docs:文档(documentation) # style: 格式(不影响代码运行的变动) # refactor:重构(即不是新增功能,也不是修改bug的代码变动) # test:增加测试 # chore:构建过程或辅助工具的变动 --- src/store/modules/app.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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的属性进行填充