Newer
Older
gdtMimiProgram / pages / mine / mine.vue
dutingting on 16 Nov 2022 503 bytes 自定义tabbar
/**
 * 我的
 */
<template>
	<view>
		<TabBar></TabBar>
		我的
	</view>
</template>

<script>
	import TabBar from '@/components/tabBar/tabBar.vue';
	export default {
		components: {
			TabBar,
		},
		data() {
			return {
				
			}
		},
		onShow() {
					let pages = getCurrentPages();
					const curPage = pages[pages.length - 1];
					this.currentPagePath = curPage.route;
					uni.setStorageSync('currentPagePath', this.currentPagePath);
				},
		methods: {
			
		}
	}
</script>

<style>

</style>