|
|
@@ -211,14 +211,6 @@
|
|
|
},
|
|
|
},
|
|
|
methods: {
|
|
|
- asyncMethodChain(func){
|
|
|
- return new Promise(function (resolve,error) {
|
|
|
- if(1){
|
|
|
- error();
|
|
|
- }
|
|
|
- resolve();
|
|
|
- })
|
|
|
- },
|
|
|
submitFake(){
|
|
|
let _this = this;
|
|
|
let p= new Promise(function (resolve) {
|
|
|
@@ -238,6 +230,8 @@
|
|
|
tempTip.setDuration(4000);
|
|
|
tempTip.show('网络异常:' + err);
|
|
|
});
|
|
|
+ }else{
|
|
|
+ resolve();
|
|
|
}
|
|
|
})
|
|
|
p.then(this.orderIssueUpdate);
|