fix: tabbar 引入
This commit is contained in:
parent
cdae57adce
commit
7e3ab3ca19
@ -11,6 +11,7 @@ export default defineUniPages({
|
|||||||
easycom: {
|
easycom: {
|
||||||
autoscan: true,
|
autoscan: true,
|
||||||
custom: {
|
custom: {
|
||||||
|
'^fg-(.*)': '@/components/fg-$1.vue',
|
||||||
'^wd-(.*)': 'wot-design-uni/components/wd-$1/wd-$1.vue',
|
'^wd-(.*)': 'wot-design-uni/components/wd-$1/wd-$1.vue',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
"easycom": {
|
"easycom": {
|
||||||
"autoscan": true,
|
"autoscan": true,
|
||||||
"custom": {
|
"custom": {
|
||||||
|
"^fg-(.*)": "@/components/fg-$1.vue",
|
||||||
"^wd-(.*)": "wot-design-uni/components/wd-$1/wd-$1.vue"
|
"^wd-(.*)": "wot-design-uni/components/wd-$1/wd-$1.vue"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
</wd-button>
|
</wd-button>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<tabbar />
|
<fg-tabbar />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
<text class="text-green-500">tabbar</text>
|
<text class="text-green-500">tabbar</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<tabbar />
|
<fg-tabbar />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user