|
@@ -98,7 +98,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
|
-import { reactive, ref } from 'vue'
|
|
|
+import { ref } from 'vue'
|
|
|
import { getToken } from '@/utils/auth'
|
|
|
import { useUserStore } from '@/store/user'
|
|
|
import { useLocaleStore } from '@/store/locale'
|
|
@@ -165,7 +165,7 @@ const items = ref([
|
|
|
{ title: '切换为招聘者', icon: 'mdi-swap-horizontal', change: changeLoginType },
|
|
|
{ title: '退出登录', icon: 'mdi-logout', change: handleLogout }
|
|
|
])
|
|
|
-const baseInfo = reactive(JSON.parse(localStorage.getItem('baseInfo'))) // 人才信息
|
|
|
+const baseInfo = JSON.parse(localStorage.getItem('baseInfo')) // 人才信息
|
|
|
|
|
|
const handleLogin = () => {
|
|
|
router.push({ path: '/login' })
|