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() {