Browse Source

授权界面报错问题修改

like 5 months ago
parent
commit
8b9ce6d0f8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      snowy-admin-web/src/views/wx/index.vue

+ 2 - 2
snowy-admin-web/src/views/wx/index.vue

@@ -64,6 +64,7 @@
 	onMounted(() => {
 		if (Route.query.id) {
 			queryObj.value = Route.query
+			console.log(queryObj.value, 'x')
 		}
 	})
 
@@ -99,13 +100,12 @@
 					router.push({
 						path: '/success',
 						query: {
-							data: res.data
+							data: '授权成功'
 						}
 					})
 				})
 				.catch((err) => {
 					loading.value = false
-					message.error('当前无权授权')
 				})
 		} else {
 			loading.value = false