From 3c315cf28799362c1d8b34fdf862b1fadf7db3ad Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 9 Sep 2023 01:44:08 +0800 Subject: [PATCH] =?UTF-8?q?code=20review=EF=BC=9A=E5=AE=8C=E5=96=84?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=E8=AF=A6=E6=83=85=E5=92=8C=E5=94=AE=E5=90=8E?= =?UTF-8?q?=E9=80=80=E6=AC=BE=20TODO=20=E6=8F=90=E5=88=B0=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mall/trade/order/index.ts | 1 + src/config/axios/service.ts | 1 + .../mall/trade/afterSale/detail/index.vue | 19 ++++--------------- src/views/mall/trade/order/detail/index.vue | 17 +++++++++++------ 4 files changed, 17 insertions(+), 21 deletions(-) diff --git a/src/api/mall/trade/order/index.ts b/src/api/mall/trade/order/index.ts index 730a57a6..6f55b573 100644 --- a/src/api/mall/trade/order/index.ts +++ b/src/api/mall/trade/order/index.ts @@ -54,6 +54,7 @@ export interface OrderVO { logs?: logs[] } +// TODO @puhui999:OrderLogRespVO 会不会更好哈。 export interface logs { content?: string createTime?: Date diff --git a/src/config/axios/service.ts b/src/config/axios/service.ts index f126f26d..bc6dbe73 100644 --- a/src/config/axios/service.ts +++ b/src/config/axios/service.ts @@ -191,6 +191,7 @@ service.interceptors.response.use( } return Promise.reject('error') } else { + // TODO @puhui999:这个先不用支持哈; // 前端处理 data 为 null 的情况,进行提示 if (data.msg !== '') { ElNotification.error({ title: msg }) diff --git a/src/views/mall/trade/afterSale/detail/index.vue b/src/views/mall/trade/afterSale/detail/index.vue index 643d2775..d539dbe5 100644 --- a/src/views/mall/trade/afterSale/detail/index.vue +++ b/src/views/mall/trade/afterSale/detail/index.vue @@ -132,23 +132,11 @@ placement="top" >
- 售后状态(之前): - - 售后状态(之后): - - 操作明细:{{ saleLog.content }} + {{ saleLog.content }}