mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-18 12:34:25 +08:00
fixed(loading-bar): loading-bar remove
This commit is contained in:
parent
9cfee6d4f5
commit
ba1c5a4aa3
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "naive-ui",
|
||||
"version": "0.5.7",
|
||||
"version": "0.5.8",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
@ -6,7 +6,8 @@ export default {
|
||||
loadingBarInstance: null,
|
||||
finishCallback () {
|
||||
if (this.loadingBarInstance) {
|
||||
document.body.removeChild(this.loadingBarInstance.$el)
|
||||
// document.body.removeChild(this.loadingBarInstance.$el)
|
||||
this.loadingBarInstance.$el.remove()
|
||||
this.loadingBarInstance.$destroy()
|
||||
this.loadingBarInstance = null
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user