Authored by 沈志敏

fix bug

... ... @@ -139,7 +139,10 @@
reason: this.selected.reason || this.options[0].reason
}, (result) => {
if (result.code === 200) {
location.reload();
tip('取消成功');
setTimeout(() => {
location.reload();
}, 1000);
} else if (result.code !== 500) {
tip(result.message);
}
... ...
... ... @@ -127,7 +127,10 @@
reason: this.selected.reason || this.options[0].reason
}, (result) => {
if (result.code === 200) {
location.reload();
tip('取消成功');
setTimeout(() => {
location.reload();
}, 1000);
} else if (result.code !== 500) {
tip(result.message);
}
... ...