''
liukangdong
2024-06-17 e8e0e31be5f27e657de6f07f57a20fdf70e9bb9b
h5/pages/staff/index.vue
@@ -1,8 +1,9 @@
<template>
   <view class="main_app">
      <view class="title_wrap">
         <view class="name">{{ userInfo.realname || '' }},欢迎登录~</view>
         <view class="btn" @click="loginOut">退出登录</view>
         <view class="name" v-if="userInfo.realname">{{ userInfo.realname || '' }},欢迎登录~</view>
         <view class="name" v-else>请先登录</view>
         <view class="btn" @click="loginOut">{{ userInfo.realname ? '退出登录' : '去登录' }}</view>
      </view>
      <view class="banner_wrap">
         <view class="h1">安泰物流</view>
@@ -87,7 +88,9 @@
      
   },
   onShow() {
      this.getTaskInfo()
      if(this.userInfo && this.userInfo.name){
         this.getTaskInfo()
      }
   },
   methods: {
      jump(path){