Files
shanxia2.0/miniprogram/pages/todo/todo.vue
T
2026-07-17 21:59:47 +08:00

29 lines
871 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<script setup>
import { onShow } from '@dcloudio/uni-app'
import { useUserStore } from '@/stores/user'
import { PAGE_PATHS } from '@/config/api'
const userStore = useUserStore()
onShow(() => {
userStore.checkLoginStatus()
if (!userStore.isLoggedIn) {
uni.reLaunch({ url: PAGE_PATHS.login })
}
})
</script>
<template>
<view class="mp-page mp-page--tab">
<view class="mp-header">
<text class="mp-header__title">待办</text>
<text class="mp-header__meta">跨模块待办汇总(本期占位)</text>
</view>
<view class="mp-placeholder">
<view class="mp-placeholder__icon" />
<text class="mp-placeholder__title">待办功能建设中</text>
<text class="mp-placeholder__desc">本期请从「工作台」进入各业务模块办理;全局待办将在后续阶段开放。</text>
</view>
</view>
</template>