view-design / ViewUIPlus

An enterprise-level UI component library and front-end solution based on Vue.js 3
https://www.iviewui.com
Other
377 stars 131 forks source link

【Bug】Spin组件 #371

Open DebugIsFalse opened 3 months ago

DebugIsFalse commented 3 months ago

在组件的onMounted调用this.$Spin.show(),然后再关闭this.$Spin.hide(),控制台报错。

export default {
   mounted () {
            this.$Spin.show()
            setTimeout(() => {
                this.$Spin.hide()
            }, 3000)
    }
}