소스 검색

Add 动态tabbar添加自动导入

YueYunyun 2 년 전
부모
커밋
2c326379b2
4개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 0
      UI/VAP.APP/src/pages.json
  2. 0 1
      UI/VAP.APP/src/pages/index/index.vue
  3. 0 1
      UI/VAP.APP/src/pages/mine/index.vue
  4. 0 1
      UI/VAP.APP/src/pages/work/index.vue

+ 1 - 0
UI/VAP.APP/src/pages.json

@@ -2,6 +2,7 @@
   "easycom": {
     "autoscan": true,
     "custom": {
+      "TabBar": "@/components/tab-bar/tab-bar.vue",
       "^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue",
       "^u-(.*)": "@components/u-$1/u-$1.vue",
       "^qiun-(.*)": "@/components/uCharts/qiun-$1/qiun-$1.vue",

+ 0 - 1
UI/VAP.APP/src/pages/index/index.vue

@@ -11,7 +11,6 @@
 <script setup lang="ts">
 import route from "@/route"
 import appStore from "@/stores"
-import TabBar from "@/components/tab-bar/tab-bar.vue"
 
 const title = ref(appStore.authStore.getUser()?.orgName ? appStore.authStore.getUser()?.orgName : "Vber移动端")
 onLoad(() => {

+ 0 - 1
UI/VAP.APP/src/pages/mine/index.vue

@@ -1,7 +1,6 @@
 <script setup lang="ts">
 import appStore from "@/stores"
 import route from "@/route"
-import TabBar from "@/components/tab-bar/tab-bar.vue"
 
 const ready = ref(false)
 

+ 0 - 1
UI/VAP.APP/src/pages/work/index.vue

@@ -1,5 +1,4 @@
 <script setup lang="ts">
-import TabBar from "@/components/tab-bar/tab-bar.vue"
 const swiperOpts = reactive({
   current: 0,
   swiperDotIndex: 0,