|
@@ -27,10 +27,7 @@
|
|
|
<div class="btn">
|
|
|
<van-button color="#00c4b8" @click="loginout">退出登录</van-button>
|
|
|
</div>
|
|
|
- <van-tabbar v-model="active">
|
|
|
- <van-tabbar-item @click="my">首页</van-tabbar-item>
|
|
|
- <van-tabbar-item>我的</van-tabbar-item>
|
|
|
- </van-tabbar>
|
|
|
+ <tabbar></tabbar>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -59,7 +56,6 @@ export default {
|
|
|
loginout() {
|
|
|
localStorage.removeItem("userId");
|
|
|
localStorage.removeItem("openid");
|
|
|
- window.location.href = 'http://localhost:8080/#/';
|
|
|
|
|
|
// 配置一下 环境
|
|
|
},
|