feat: layout调整

This commit is contained in:
renxiaodong
2025-06-23 23:59:08 -04:00
parent 59dac3bb13
commit 74567f17c2
14 changed files with 167 additions and 52 deletions

View File

@ -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();
}