Переглянути джерело

修改:研究报告登录

littleblue55 22 годин тому
батько
коміт
67a79bc39f
2 змінених файлів з 4 додано та 3 видалено
  1. 2 2
      pages/index/index.vue
  2. 2 1
      pages/reportDetail/reportDetail.vue

+ 2 - 2
pages/index/index.vue

@@ -277,7 +277,7 @@
 	const reportList = ref([])
 	// 跳转页面
 	const jumpToPage = (data) => {
-		
+
 		if (data.toOtherApp) {
 			// 跳转其他小程序
 			wx.navigateToMiniProgram({
@@ -681,4 +681,4 @@
 			color: $uni-text-color;
 		}
 	}
-</style>
+</style>

+ 2 - 1
pages/reportDetail/reportDetail.vue

@@ -237,7 +237,8 @@
 			id: id.value,
 			title: title.value
 		}
-		uni.setStorageSync("redirect", JSON.parse(decodedRedirect))
+		// const decodedRedirect = decodeURIComponent(url);
+		uni.setStorageSync("redirect", url)
 		uni.navigateTo({
 			url:`/pages/login/login`
 		})