Browse Source

Merge branch 'yufei' of gitadmin/tuoheng_pilot_web into develop

pull/109/head
yufei111 1 year ago
parent
commit
80c93bba9b
2 changed files with 4 additions and 3 deletions
  1. +4
    -2
      .env.localhost
  2. +0
    -1
      src/layout/components/Header/index.vue

+ 4
- 2
.env.localhost View File

# mock base api # mock base api
VITE_APP_GLOB_BASE_API_MOCK = '/api-mock' VITE_APP_GLOB_BASE_API_MOCK = '/api-mock'


# VITE_AUTHORITY = 'http://192.168.11.11:8090'
VITE_AUTHORITY = 'https://login-test.t-aaron.com'
VITE_AUTHORITY = 'http://192.168.11.11:8090'
#VITE_AUTHORITY = 'https://login-test.t-aaron.com'
VITE_CLIENT_ID = 'tuoheng-pilot-admin'
VITE_CLIENT_SECRET = 'WB0CZ1c6bZLiYP6jLtDFsA=='

+ 0
- 1
src/layout/components/Header/index.vue View File

} }


const getUserInfo = computed(() => { const getUserInfo = computed(() => {
console.log(userStore, '==============')
return { return {
hasLogin: userStore.hasLogin, hasLogin: userStore.hasLogin,
// avatar: userStore.avatar, // avatar: userStore.avatar,

Loading…
Cancel
Save