Procházet zdrojové kódy

订单详情页新增“已完成”

DELL před 3 roky
rodič
revize
14b8ac561f
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      pages/order/index.vue

+ 2 - 1
pages/order/index.vue

@@ -104,6 +104,7 @@
 					status: this.status
 				}).then(res => {
 					uni.hideLoading();
+					console.log(res)
 					this.loading = false
 					if (res.code == 0) {
 						res.rows.forEach(item => {
@@ -202,7 +203,7 @@
 				} else if (e.index == 3) {
 					this.status = '2'
 				} else if (e.index == 4) {
-					this.status = '-1'
+					this.status = '3'
 				}
 				this.pageList()
 			},