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