[Fix][UI] Fix bug where username is empty in file manage (#10070)

(cherry picked from commit c16424027e)
This commit is contained in:
Devosend 2022-05-17 15:17:46 +08:00 committed by Jiajie Zhong
parent 6bc9141c91
commit c2abc650a2
2 changed files with 2 additions and 0 deletions

View File

@ -95,6 +95,7 @@ interface ResourceFile {
id: number
pid: number
alias: string
userName: string
userId: number
type: string
directory: boolean

View File

@ -49,6 +49,7 @@ export function useFileState(
alias: item.alias,
fullName: item.fullName,
type: item.type,
user_name: item.userName,
directory: item.directory,
file_name: item.fileName,
description: item.description,