Преглед на файлове

Merge branch 'master' of http://81.70.224.233:10080/yichael/ZhongChuang_front_2

eraser преди 4 години
родител
ревизия
6de520f825
променени са 3 файла, в които са добавени 4 реда и са изтрити 10 реда
  1. 2 8
      components/home/simulation.vue
  2. 1 1
      components/user/stuManage.vue
  3. 1 1
      components/user/user.vue

+ 2 - 8
components/home/simulation.vue

@@ -40,14 +40,8 @@
 				        console.log('get成功');
 				        console.log(res.data);
 						
-						uni.downloadFile({
-						    url: res.data, //仅为示例,并非真实的资源
-						    success: (res) => {
-						        if (res.statusCode === 200) {
-						            console.log('下载成功');
-						        }
-						    }
-						});
+					window.location.href = res.data;
+					
 				    },
 				    fail:(res)=>{
 				        console.log('get失败');

+ 1 - 1
components/user/stuManage.vue

@@ -153,7 +153,7 @@
 				}, null);
 			},
 			onClick_XSSYQK(studentI){
-				console.log("实验情况=");
+				console.log("实验情况studentI=",studentI);
 				let UserID = this.allStudent[studentI].UserID;
 				console.log("UserID=",this.allStudent[studentI].UserID);
 				this.$emit('onClick_XSSYQK',UserID);	

+ 1 - 1
components/user/user.vue

@@ -289,7 +289,7 @@
 			onClick_XSSYQK(UserID){
 				// console.log("11111=",this.userInfo.role);
 				// console.log("2222=",this.isShow_xssyqk);
-				console.log("UserID=",UserID);
+				// console.log("UserID=",UserID);
 				this.isShow_xssyqk = true;
 				this.checkedIndex_leftMenu = 1;
 				this.showIndex = 2;