From 08ecff11a4bb3a5a2749b3a6d8554447f73e0b22 Mon Sep 17 00:00:00 2001
From: yangyin <1850366751@qq.com>
Date: 星期六, 29 六月 2024 11:30:18 +0800
Subject: [PATCH] fix: 查看更多的跳转

---
 src/views/project/ch/home/Scenario.vue                    |    1 -
 src/views/project/ch/home/component/waterRight/bottom.vue |    9 ++++++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/views/project/ch/home/Scenario.vue b/src/views/project/ch/home/Scenario.vue
index d1ace78..669707d 100644
--- a/src/views/project/ch/home/Scenario.vue
+++ b/src/views/project/ch/home/Scenario.vue
@@ -146,7 +146,6 @@
 });
 //鍒囨崲鍒板簲鐢ㄥ満鏅鎯呯殑浜嬩欢
 const changeApp = (item: any) => {
-	console.log('馃殌 ~ item:', item);
 	if (item.ID === 2) {
 		router.push({
 			name: 'ScenarioDetails',
diff --git a/src/views/project/ch/home/component/waterRight/bottom.vue b/src/views/project/ch/home/component/waterRight/bottom.vue
index 858b714..02eb624 100644
--- a/src/views/project/ch/home/component/waterRight/bottom.vue
+++ b/src/views/project/ch/home/component/waterRight/bottom.vue
@@ -5,7 +5,7 @@
 				<span>搴旂敤鍦烘櫙</span>
 			</div>
 			<div class="cursor-pointer">
-				<el-button link class="changeBatch"
+				<el-button link class="changeBatch" @click="lookMore"
 					>鏌ョ湅鏇村
 					<el-icon>
 						<ArrowRight />
@@ -35,6 +35,7 @@
 
 <script setup lang="ts">
 import { reactive } from 'vue';
+import router from '/@/router';
 let state = reactive({
 	applicationScenarios: [
 		{
@@ -67,6 +68,12 @@
 const changeScenarios = (item) => {
 	state.scenariosIndex = item.ID;
 };
+// 鏌ョ湅鏇村
+const lookMore = () => {
+	router.push({
+		name: 'Scenario',
+	});
+};
 </script>
 <style scoped lang="scss">
 .pc-scenes {

--
Gitblit v1.9.3