更新首页
This commit is contained in:
parent
6a998c8220
commit
fd53b0b049
|
|
@ -7,8 +7,16 @@ export {}
|
|||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
ElButton: typeof import('element-plus/es')['ElButton']
|
||||
ElCarousel: typeof import('element-plus/es')['ElCarousel']
|
||||
ElCarouselItem: typeof import('element-plus/es')['ElCarouselItem']
|
||||
ElForm: typeof import('element-plus/es')['ElForm']
|
||||
ElFormItem: typeof import('element-plus/es')['ElFormItem']
|
||||
ElInput: typeof import('element-plus/es')['ElInput']
|
||||
ElMenu: typeof import('element-plus/es')['ElMenu']
|
||||
ElMenuItem: typeof import('element-plus/es')['ElMenuItem']
|
||||
ElTable: typeof import('element-plus/es')['ElTable']
|
||||
ElTableColumn: typeof import('element-plus/es')['ElTableColumn']
|
||||
RouterLink: typeof import('vue-router')['RouterLink']
|
||||
RouterView: typeof import('vue-router')['RouterView']
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,9 @@
|
|||
<script setup lang="ts">
|
||||
import FooterInfo from './compontents/FooterInfo/index.vue'
|
||||
onMounted(() => {
|
||||
// console.log(route.params, '路由');
|
||||
|
||||
})
|
||||
</script>
|
||||
|
||||
|
||||
|
|
@ -9,7 +13,7 @@ import FooterInfo from './compontents/FooterInfo/index.vue'
|
|||
<div class="header-wapper">
|
||||
<a>登录</a>
|
||||
<!-- <a>注册</a> -->
|
||||
<a @click="$router.push('/myuser')">个人中心</a>
|
||||
<a @click="$router.push({ name: 'myuser', params: { type: 'myuser' } })">个人中心</a>
|
||||
<a>收藏夹</a>
|
||||
<a>手机版</a>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue