This commit is contained in:
parent
4e322cc417
commit
891a435ff0
|
|
@ -291,6 +291,7 @@ const SharedFilesModel = forwardRef((props: any, ref: any) => {
|
|||
} else if (process.platform === 'darwin') {
|
||||
exec(`open "${setting.shareFilesPath}"`);
|
||||
}
|
||||
getRoomFile()
|
||||
} catch (error: any) {
|
||||
if (error.code === 'ENOENT') {
|
||||
message.error('文件夹不存在!')
|
||||
|
|
@ -298,7 +299,6 @@ const SharedFilesModel = forwardRef((props: any, ref: any) => {
|
|||
message.error(error)
|
||||
}
|
||||
}
|
||||
getRoomFile()
|
||||
} catch (error: any) {
|
||||
if (error.code === 'ENOENT') {
|
||||
message.error('文件夹不存在!')
|
||||
|
|
|
|||
Loading…
Reference in New Issue