Compare commits

..

No commits in common. "5e247006c55db87e76d983c813a34257f9a87a6a" and "03f98c8beb1d2f2afbcb693e9e400282971a607b" have entirely different histories.

2 changed files with 24 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 48 KiB

View File

@ -4,6 +4,13 @@
<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" />
@ -12,16 +19,32 @@
</template>
<script setup>
import { ref } from 'vue'
import { watch } 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>