Browse Source

订单-追溯调整

langfang-develop
liwei 3 years ago
parent
commit
38252a9f49
2 changed files with 6 additions and 1 deletions
  1. +1
    -0
      src/utils/request.js
  2. +5
    -1
      src/views/productplan/workbench/order/index.vue

+ 1
- 0
src/utils/request.js View File

@ -78,6 +78,7 @@ service.interceptors.response.use(
type: 'error',
duration: 3 * 1000
})
return Promise.reject('error')
} else if (code !== 200) {
Notification.error({
title: response.data.msg


+ 5
- 1
src/views/productplan/workbench/order/index.vue View File

@ -569,7 +569,11 @@ export default {
this.total = response.data.count
this.loading = false
}
)
).catch(()=>{
this.dataList = []
this.total = 0
this.loading = false
})
},
//


Loading…
Cancel
Save