- 将 PageTitle.vue 重命名为 PageTitle.unuse - 从 custom-nav.vue 中移除 PageTitle 的导入 - 从首页和用户页面移除 PageTitle 组件导入 - 更新 tsconfig.json 包含重命名后的组件文件
@@ -22,7 +22,6 @@
<script setup lang="ts">
import { computed } from 'vue'
-import PageTitle from './PageTitle.vue';
interface Props {
title: string
@@ -20,7 +20,6 @@
import { ref } from 'vue'
-import PageTitle from '@/components/PageTitle.vue'
import CustomNav from '@/components/custom-nav.vue'
import TabBar from '@/components/tab-bar.vue'
@@ -47,7 +47,6 @@
import { onShow } from '@dcloudio/uni-app'