wangguoyu hai 1 mes
pai
achega
cd1fbd667c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pages/chanpinneirong/chanpin1.vue

+ 1 - 1
pages/chanpinneirong/chanpin1.vue

@@ -270,7 +270,7 @@
 				}
 				}
 				console.log('req', req);
 				console.log('req', req);
 				const res = await shuxueSave(req);
 				const res = await shuxueSave(req);
-				if (res.code == 0 && res.data) {
+				if (res.code == 0) {
 					let curJieAndDanyuan = this.getJieAndDanyuan(this.banbenInfo, jieId);
 					let curJieAndDanyuan = this.getJieAndDanyuan(this.banbenInfo, jieId);
 					if (!curJieAndDanyuan) {
 					if (!curJieAndDanyuan) {
 						toast("未找到课程信息");
 						toast("未找到课程信息");