@@ -184,7 +184,9 @@
busPos:{
x: 10,
y:uni.getSystemInfoSync().windowHeight - 30
- }
+ },
+ submitOk: false,
+ refashOk: false
}
},
onLoad(option) {
@@ -380,8 +382,8 @@
confirmText:'确定刷新',
success(ret) {
if(ret.confirm){
- _this.getDetail()
_this.showPopu = false
+ _this.refashOk = true
})
@@ -449,6 +451,11 @@
closePopu(){
this.showPopu = false
this.qty = 1
+ // 刷新页面
+ if(this.refashOk){
+ this.getDetail()
+ }
+ // 提交代码
if(this.submitOk){
this.submitOk = false
uni.navigateTo({