Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问怎么在入口文件停止loading? #28

Open
holdbiao opened this issue Feb 12, 2019 · 1 comment
Open

请问怎么在入口文件停止loading? #28

holdbiao opened this issue Feb 12, 2019 · 1 comment

Comments

@holdbiao
Copy link

No description provided.

@heyuhua1992
Copy link

在mian中开启 loading
Vue.prototype.loading(‘加载中...’)

在mian中关闭 loading
Vue.prototype.$loading.close()

在使用Vue.use(Toast) 之后,你可以通过console.log(Vue) 查看到 $Loading ,其下有close 方法

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants