Commit 36b3351b authored by Facius's avatar Facius

fix: 完工页面后退再进入报错。详情页需要每次刷新

parent 672ff1fd
...@@ -439,7 +439,7 @@ export default { ...@@ -439,7 +439,7 @@ export default {
this.type = option.type this.type = option.type
} }
this.loadOrderDetail() // this.loadOrderDetail() // onShow里面刷新
this.getLocation() this.getLocation()
if (this.isOther) { if (this.isOther) {
// 获取结算信息 // 获取结算信息
...@@ -454,13 +454,13 @@ export default { ...@@ -454,13 +454,13 @@ export default {
if (this.uploadTask.length > 0) { if (this.uploadTask.length > 0) {
upload.uploadImageTask(this) upload.uploadImageTask(this)
} }
this.loadOrderDetail()
// 从过程反馈回来,需要刷新数据 // 从过程反馈回来,需要刷新数据
let pages = getCurrentPages() let pages = getCurrentPages()
let page = pages[pages.length - 1] let page = pages[pages.length - 1]
if (page.needFresh) { if (page.needFresh) {
page.needFresh = null page.needFresh = null
this.loadOrderDetail()
this.loadOrderRecord() this.loadOrderRecord()
} }
if (page.needRefresh) { if (page.needRefresh) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment