Przeglądaj źródła

refactor(components): 移除 PageTitle 组件的使用并更新配置

- 将 PageTitle.vue 重命名为 PageTitle.unuse
- 从 custom-nav.vue 中移除 PageTitle 的导入
- 从首页和用户页面移除 PageTitle 组件导入
- 更新 tsconfig.json 包含重命名后的组件文件
mcbaiyun 2 miesięcy temu
rodzic
commit
5620c84a05

+ 0 - 0
src/components/PageTitle.vue → src/components/PageTitle.unuse


+ 0 - 1
src/components/custom-nav.vue

@@ -22,7 +22,6 @@
 
 <script setup lang="ts">
 import { computed } from 'vue'
-import PageTitle from './PageTitle.vue';
 
 interface Props {
   title: string

+ 0 - 1
src/pages/index/index.vue

@@ -20,7 +20,6 @@
 
 <script setup lang="ts">
 import { ref } from 'vue'
-import PageTitle from '@/components/PageTitle.vue'
 import CustomNav from '@/components/custom-nav.vue'
 import TabBar from '@/components/tab-bar.vue'
 

+ 0 - 1
src/pages/profile/index.vue

@@ -47,7 +47,6 @@
 import { ref } from 'vue'
 import { computed } from 'vue'
 import { onShow } from '@dcloudio/uni-app'
-import PageTitle from '@/components/PageTitle.vue'
 import CustomNav from '@/components/custom-nav.vue'
 import TabBar from '@/components/tab-bar.vue'