[improvement] Dialog: support local registration
This commit is contained in:
@@ -89,6 +89,8 @@ Dialog.install = () => {
|
||||
Vue.use(VanDialog);
|
||||
};
|
||||
|
||||
Dialog.Component = VanDialog;
|
||||
|
||||
Vue.prototype.$dialog = Dialog;
|
||||
|
||||
export default Dialog;
|
||||
|
||||
Reference in New Issue
Block a user