chubiao 11 kuukautta sitten
vanhempi
commit
0392285343
2 muutettua tiedostoa jossa 21 lisäystä ja 20 poistoa
  1. 3 0
      pages/info/add-files.vue
  2. 18 20
      pages/lr/info.vue

+ 3 - 0
pages/info/add-files.vue

@@ -842,6 +842,8 @@
 											// 	})
 											// })
 											toast('保存成功,正在前往刷脸激活')
+											
+											// todo 跳转刷脸激活
 											setTimeout(function() {
 												uni.switchTab({
 													url: '/pages/index/index'
@@ -859,6 +861,7 @@
 											// setOpenid(r.data.openId)
 											// setUser(r.data.sysUser)
 											// setToken(r.data.token.access_token)
+											// todo 跳转刷脸激活
 											setTimeout(function() {
 												
 												

+ 18 - 20
pages/lr/info.vue

@@ -319,29 +319,27 @@
 					id: this.baseFormData.id,
 					url: 'https://www.ccsckj.com/'
 				}
-				// uni.navigateTo({
-				// 	url:'/pages/lr/face?url='+JSON.stringify(param)
-				// })
-				
-				
-				GetUrl(param).then(res => {
-					console.log("1111111", res);
-					if (res.code == 200) {
-						// this.src = res.data.url
-						
-						
-						uni.request({
-							url:res.data.url
-						})
-					} else {
-						toast('该功能暂未开放')
-				
-						uni.navigateBack()
-					}
+			
+				// todo 方案二
+				uni.navigateTo({
+					url:'/pages/lr/face?url='+JSON.stringify(param)
+				})
 				
+				// todo 方案一
+				// GetUrl(param).then(res => {
+				// 	console.log("1111111", res);
+				// 	if (res.code == 200) {
+				// 		// this.src = res.data.url
+				// 		uni.request({
+				// 			url:res.data.url
+				// 		})
+				// 	} else {
+				// 		toast('该功能暂未开放')
 				
+				// 		uni.navigateBack()
+				// 	}
 				
-				})
+				// })
 			},
 			showInfo(id) {
 				infoKhjbxx(id).then(res => {