wwf
昨天 737179a0ce34147269cccf288fecd0e7bb4c309b
src/views/main/components/MyHeader.vue
@@ -10,7 +10,7 @@
        </el-row>
        <template #dropdown>
          <el-dropdown-menu>
            <el-dropdown-item>个人中心</el-dropdown-item>
            <el-dropdown-item @click="gotoCenter()">个人中心</el-dropdown-item>
            <el-dropdown-item @click="logout()">退出登录</el-dropdown-item>
          </el-dropdown-menu>
        </template>
@@ -57,6 +57,9 @@
        })
      }, 1000)
    },
    gotoCenter() {
      this.$router.push('/main/center')
    },
    logout() {
      this.$messageBox.confirm('确定要退出登录吗', '提示', 
      { confirmButtonText: '确定', cancelButtonText: '取消', type: 'error' }).then(res => {