|
@@ -1,20 +1,18 @@
|
|
|
<template>
|
|
|
- <view class="client-shouye">
|
|
|
- <!-- 考试 -->
|
|
|
- <kaoshiCardVue></kaoshiCardVue>
|
|
|
- <!-- 练习 -->
|
|
|
- <lianxiCardVue></lianxiCardVue>
|
|
|
- <!-- 课程 -->
|
|
|
- <kechengCardVue></kechengCardVue>
|
|
|
- <!-- 底部区域 -->
|
|
|
- <customTabbarClient></customTabbarClient>
|
|
|
- </view>
|
|
|
+ <view>
|
|
|
+ 总部管理员/跑单员首页 {{counter.count}}
|
|
|
+ <view v-if="data">{{data}}</view>
|
|
|
+ <view v-else>未设置缓存</view>
|
|
|
+ </view>
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
|
-import kaoshiCardVue from '@/components/listCard/kaoshiCard.vue';
|
|
|
-import kechengCardVue from '@/components/listCard/kechengCard.vue';
|
|
|
-import lianxiCardVue from '@/components/listCard/lianxiCard.vue';
|
|
|
-import customTabbarClient from "@/components/custom-tabbar/custom-tabbar-client.vue"
|
|
|
+import { useCounterStore } from "@/store/counter.js"
|
|
|
+
|
|
|
+// 总部管理员/跑单员首页
|
|
|
+import { getAuth } from '@/utils/auth';
|
|
|
+const data = getAuth();
|
|
|
+
|
|
|
+const counter = useCounterStore();
|
|
|
</script>
|
|
|
|