Skip to content

Commit

Permalink
feat: change something
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanyxh committed May 8, 2024
1 parent 469d0e1 commit 209dd4b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ const App: React.FC<IAppProps> = (props) => {
const cancelGlobalUserTipsEventListener = globalEvent.on(
'user_tips',
({ type, message: _message }) => {
message[type](_message);
messageApi[type](_message);
}
);
const cancelGlobalUserAlertEventListener = globalEvent.on(
Expand Down
2 changes: 2 additions & 0 deletions src/filehandle/components/FileContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ function MountWebdavModal(props: { open: boolean; close(): void }) {

success('已添加 webdav 目录。');

form.resetFields();

sleep(35, close);
})
.catch(() => {
Expand Down

0 comments on commit 209dd4b

Please sign in to comment.