[Question] Message.show 导出的hide不能把自己清除
Open
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
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