去掉返回 #296

Merged
lyc merged 1 commits from lyc-dev into main 2024-10-08 14:01:26 +08:00
2 changed files with 1 additions and 24 deletions
Showing only changes of commit f2387c709a - Show all commits

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 51 KiB

View File

@ -4,13 +4,6 @@
<Header />
</el-header>
<el-main>
<!-- <template v-if="currentRoute.path != '/home'">
<el-page-header @back="goBack">
<template #content>
<span class="text-large mr-3"> {{ currentRoute.meta.title }} </span>
</template>
</el-page-header>
</template> -->
<AppMain />
</el-main>
<Uploader v-if="uploaderStore.uploadList && uploaderStore.uploadList.length > 0" />
@ -19,32 +12,16 @@
</template>
<script setup>
import { watch } from 'vue'
import { ref } from 'vue'
import { useRouter } from 'vue-router'
import Header from './components/Header.vue'
import AppMain from './components/AppMain.vue'
import Uploader from './components/Uploader.vue'
import AiChart from '@/components/ai-chart/index.vue'
import uploaderState from '@/store/modules/uploader'
import { ref } from 'vue'
const router = useRouter()
// const currentRoute = ref('')
// watch(
// () => router.currentRoute.value,
// (newValue) => {
// currentRoute.value = newValue
// },
// { immediate: true }
// )
let uploaderStore = ref(uploaderState())
const goBack = () =>{
router.back()
}
</script>
<style lang="scss" scoped>