mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-16 23:45:53 +08:00
fix: 🐛 修改订单取消不展示bug
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name" : "lili商城",
|
||||
"appid" : "__UNI__D472780",
|
||||
"appid" : "__UNI__ED807EA",
|
||||
"description" : "",
|
||||
"versionName" : "4.2.8",
|
||||
"versionCode" : 4000280,
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user