feat: layout调整
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
<script setup lang="ts">
|
||||
import { useUserStore } from '@/stores';
|
||||
import zhCN from '@arco-design/web-vue/es/locale/lang/zh-cn';
|
||||
const store = useUserStore();
|
||||
const userStore = useUserStore();
|
||||
|
||||
const redTheme = {
|
||||
token: {
|
||||
@ -18,7 +18,7 @@ const redTheme = {
|
||||
};
|
||||
|
||||
const init = () => {
|
||||
const { isLogin, fetchUserInfo } = store;
|
||||
const { isLogin, fetchUserInfo } = userStore;
|
||||
if (isLogin) {
|
||||
fetchUserInfo();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user