mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 01:54:48 +00:00
[Improment] add $toast/$dialog to Vue.prototype (#363)
This commit is contained in:
@@ -56,4 +56,6 @@ Toast.clear = () => {
|
||||
instance && instance.clear();
|
||||
};
|
||||
|
||||
Vue.prototype.$toast = Toast;
|
||||
|
||||
export default Toast;
|
||||
|
Reference in New Issue
Block a user