fix: 🐛 修改订单取消不展示bug

master
Yer 2023-05-16 18:04:20 +08:00
parent a353022d36
commit c7237e561c
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name" : "lili商城",
"appid" : "__UNI__D472780",
"appid" : "__UNI__ED807EA",
"description" : "",
"versionName" : "4.2.8",
"versionCode" : 4000280,

View File

@ -542,13 +542,13 @@ export default {
*/
submitCancel() {
cancelOrder(this.orderSn, { reason: this.reason }).then((res) => {
if (res.statusCode == 200) {
if (res.data.success) {
uni.showToast({
title: "订单已取消",
duration: 2000,
icon: "none",
});
this.initData(0);
this.initData(this.tabCurrentIndex);
this.cancelShow = false;
} else {