From 7df781c76f651d21cac02bcdae7f7b3f9e41e275 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期五, 27 十二月 2024 17:47:41 +0800
Subject: [PATCH] ll

---
 pda/pages/index/index.vue |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/pda/pages/index/index.vue b/pda/pages/index/index.vue
index 5e58644..04c7012 100644
--- a/pda/pages/index/index.vue
+++ b/pda/pages/index/index.vue
@@ -18,7 +18,7 @@
     	  </view>
     	  <view class="item" @click="jump('/pages/index/queueup')">
     	    <image src="@/static/ic_cheliangpaidui@2x.png" mode=""></image>
-    	    <view class="text">杞﹂槦鎺掗槦鎯呭喌</view>
+    	    <view class="text">杞﹁締鎺掗槦鎯呭喌</view>
     	  </view>
     	  <view class="item" @click="jump('/pages/index/control')">
     	    <image src="@/static/ic_qiyong@2x.png" mode=""></image>
@@ -46,7 +46,12 @@
     }
   },
   onLoad() {
-
+		const token = uni.getStorageSync('token')
+		if(!token){
+			uni.redirectTo({
+				url: '/pages/index/login'
+			})
+		}
   },
   methods: {
 		loginout() {

--
Gitblit v1.9.3