mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-28 06:13:22 +08:00
chore: 清除以前的message
This commit is contained in:
@@ -171,6 +171,8 @@ async function generateAccess(options: GenerateMenuAndRoutesOptions) {
|
|||||||
return await generateAccessible(preferences.app.accessMode, {
|
return await generateAccessible(preferences.app.accessMode, {
|
||||||
...options,
|
...options,
|
||||||
fetchMenuListAsync: async () => {
|
fetchMenuListAsync: async () => {
|
||||||
|
// 清除以前的message
|
||||||
|
message.destroy();
|
||||||
message.loading({
|
message.loading({
|
||||||
content: `${$t('common.loadingMenu')}...`,
|
content: `${$t('common.loadingMenu')}...`,
|
||||||
duration: 1,
|
duration: 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user