From 1df8c4b31c5b6a873ddfecb984862e42e5eada4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E7=8E=B2?= <8702040+cai-ling@user.noreply.gitee.com> Date: Wed, 11 Sep 2024 13:22:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/manage/modify-process.vue | 2 +- utils/mork2.js | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/pages/manage/modify-process.vue b/pages/manage/modify-process.vue index 667e8dc..2ef7164 100644 --- a/pages/manage/modify-process.vue +++ b/pages/manage/modify-process.vue @@ -88,7 +88,7 @@ }, async _fabOrders () { let res = await fabOrders(this.val1) - this.dataList = [...res.content] + this.dataList = [...res] }, selectChange (val) { }, diff --git a/utils/mork2.js b/utils/mork2.js index c744bf9..5b31319 100644 --- a/utils/mork2.js +++ b/utils/mork2.js @@ -15,10 +15,8 @@ export const regionList = () => { } export const fabOrders = (data) => { - let res = { - content: [ - {order_code: '111', region_code: '3', due_date: '2020-10-10 11:30:30'} + let res = [ + {order_code: '111'} ] - } return res } \ No newline at end of file