mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-11 11:50:24 +08:00
feat: 前端用户信息迁移至localstorage
This commit is contained in:
@@ -272,7 +272,7 @@ import { ref, toRefs, reactive, onMounted, computed } from 'vue';
|
||||
import { ElMessage, ElMessageBox, ElInput } from 'element-plus';
|
||||
import { machineApi } from '../api';
|
||||
|
||||
import { getSession } from '@/common/utils/storage';
|
||||
import { getToken } from '@/common/utils/storage';
|
||||
import config from '@/common/config';
|
||||
import { isTrue } from '@/common/assert';
|
||||
import MachineFileContent from './MachineFileContent.vue';
|
||||
@@ -285,7 +285,7 @@ const props = defineProps({
|
||||
isFolder: { type: Boolean, default: true },
|
||||
});
|
||||
|
||||
const token = getSession('token');
|
||||
const token = getToken();
|
||||
const folderUploadRef: any = ref();
|
||||
|
||||
const folderType = 'd';
|
||||
|
||||
Reference in New Issue
Block a user