[Bug Report] Indicator close()无法关闭
Open
- Dominant language
- Vue
- Stars
- 16.4k
- Forks
- 3.5k
- PR merge metrics
- No merged PRs in 30d
Description
### Mint UI version
2.2.13
### OS/Browsers version
win10 /chrome
### Vue version
2.5.13
### Reproduction Link
[https://github.com/ElemeFE/mint-ui](https://github.com/ElemeFE/mint-ui)
### Steps to reproduce
加载中...
关闭加载
methods: {
greet() {
Indicator.open({
text: '加载中l...',
spinnerType: 'fading-circle'
});
},
greet1() {
Indicator.close()
}
}
当点击第一个按钮时启动Indicator弹出加载中...弹框,点击第二个按钮时调用close()方法无法关闭弹框
### What is Expected?
Indicator.close()设置为全局变量随时可以调用
### What is actually happening?
Indicator.close()只在自身的函数方法中可以调用,在其他函数方法无法调用
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.