feat(Notify): support component call (#6453)

This commit is contained in:
neverland
2020-06-03 20:32:02 +08:00
committed by GitHub
parent 61919d0bec
commit 97541eedfa
9 changed files with 138 additions and 16 deletions
+2
View File
@@ -89,6 +89,8 @@ Notify.install = () => {
Vue.use(VanNotify as any);
};
Notify.Component = VanNotify;
Vue.prototype.$notify = Notify;
export default Notify;