yangyin
2024-06-29 08ecff11a4bb3a5a2749b3a6d8554447f73e0b22
fix: 查看更多的跳转
已修改2个文件
10 ■■■■ 文件已修改
src/views/project/ch/home/Scenario.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/project/ch/home/component/waterRight/bottom.vue 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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',
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 {