chore: 清除以前的message
This commit is contained in:
parent
eaeb6b2b29
commit
1aa338ba34
@ -171,6 +171,8 @@ async function generateAccess(options: GenerateMenuAndRoutesOptions) {
|
||||
return await generateAccessible(preferences.app.accessMode, {
|
||||
...options,
|
||||
fetchMenuListAsync: async () => {
|
||||
// 清除以前的message
|
||||
message.destroy();
|
||||
message.loading({
|
||||
content: `${$t('common.loadingMenu')}...`,
|
||||
duration: 1,
|
||||
|
Loading…
Reference in New Issue
Block a user