wkyy 6 月之前
父節點
當前提交
15aa4aca58
共有 2 個文件被更改,包括 8 次插入7 次删除
  1. 2 2
      config/.env.dev.js
  2. 6 5
      pages/parents/mine/myCourses.vue

+ 2 - 2
config/.env.dev.js

@@ -1,8 +1,8 @@
 const UNI_APP = {  
 	ProjectName :"51充电联盟",
 	// BASE_URL: 'http://47.98.231.198:9090/qsng-server/',
-	// BASE_URL: 'http://114.55.55.123/qsng-server/',
-	BASE_URL: 'http://192.168.33.220:8086/education-training-server/', //颜
+	BASE_URL: 'http://114.55.55.123/qsng-server',
+	// BASE_URL: 'http://192.168.33.220:8086/education-training-server/', //颜
 	// BASE_URL: 'http://192.168.11.120:8086/education-training-server/', //wang
 	// BASE_URL: 'http://192.168.33.230:8086/education-training-server/', //me
 	// BASE_URL: 'http://192.168.77.162:8086/education-training-server/',

+ 6 - 5
pages/parents/mine/myCourses.vue

@@ -61,7 +61,7 @@
 		data() {
 			return {
 				pageNum: 1,
-				pageSize: 5,
+				pageSize: 10,
 				recordsTotal: 0,
 				courseList: [],
 				studentId: ''
@@ -104,10 +104,11 @@
 					];
 					this.recordsTotal = res.data.recordsTotal;
 				}).catch(error => {
-					uni.showToast({
-						title: error,
-						icon: "none"
-					})
+					uni.hideLoading();
+					// uni.showToast({
+					// 	title: error,
+					// 	icon: "none"
+					// })
 				})
 			}
 		}