feat: auth

This commit is contained in:
2025-09-07 13:32:25 +08:00
parent 1d5f227a72
commit 5a7a40bd41
13 changed files with 144 additions and 99 deletions

View File

@@ -3,10 +3,11 @@ import { View, Text, ScrollView } from '@tarojs/components'
import { Avatar } from '@nutui/nutui-react-taro'
import Taro from '@tarojs/taro'
import GuideBar from '@/components/GuideBar'
import { withAuth } from '@/components'
// import img from '@/config/images'
import './index.scss'
const Personal = () => {
const Message = () => {
const messageList = Array(10).fill(0).map((_, index) => ({
id: index + 1,
title: `消息${index + 1}消息${index + 1}消息${index + 1}消息${index + 1}`,
@@ -40,4 +41,4 @@ const Personal = () => {
)
}
export default Personal
export default withAuth(Message)