alibaba / alibaba/rax

[Question] Message.show 导出的hide不能把自己清除

Open
#2,353 2 comments 0 reactions 0 assignees View on GitHub
Bug Fusion Mobile
Dominant language
JavaScript
Stars
8k
Forks
611
PR merge metrics
No merged PRs in 30d

Description

```
const hide = Message.show({
type: 'loading',
});
setTimeout(() => {
hide();
Message.show({
content: '11111111',
});
}, 2000);
```

- hide方法并没有将自己的show清除掉

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the provided Message.show example and trace the Message.show and returned hide entry points. Done means calling hide removes its own loading message before the subsequent Message.show call displays new content.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.