|
@@ -1,6 +1,7 @@
|
|
|
<template>
|
|
|
<view class="lli-develop-expect-page">
|
|
|
- <button class="lli-btn" @click="quit">退出登录</button>
|
|
|
+ <button class="lli-btn" @click="quit">退出登录</button>
|
|
|
+ <CustomTabBar></CustomTabBar>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
@@ -8,8 +9,11 @@
|
|
|
import {
|
|
|
logout
|
|
|
} from '@/api/login.js'
|
|
|
-
|
|
|
-
|
|
|
+ import CustomTabBar from '@/components/custom-tabbar/custom-tabbar.vue';
|
|
|
+ import { getCurrentInstance } from 'vue';
|
|
|
+ import {
|
|
|
+ onLoad,
|
|
|
+ } from '@dcloudio/uni-app';
|
|
|
const quitClick = ()=>{
|
|
|
uni.showModal({
|
|
|
title: '提示',
|
|
@@ -32,8 +36,11 @@
|
|
|
url: '/pages/login/index'
|
|
|
});
|
|
|
|
|
|
- }
|
|
|
-
|
|
|
+ }
|
|
|
+ onLoad((options) => {
|
|
|
+ const instance = getCurrentInstance();
|
|
|
+ console.log(instance.appContext.config.globalProperties)
|
|
|
+ })
|
|
|
// import { ref, onMounted } from 'vue';
|
|
|
//
|
|
|
// const listData = ref([]);
|