[Improment] add $toast/$dialog to Vue.prototype (#363)
This commit is contained in:
Vendored
+6
@@ -15,4 +15,10 @@ export interface Toast {
|
||||
clear(): void;
|
||||
}
|
||||
|
||||
declare module 'vue/types/vue' {
|
||||
interface Vue {
|
||||
$toast: Toast
|
||||
}
|
||||
}
|
||||
|
||||
export const Toast: Toast;
|
||||
|
||||
Reference in New Issue
Block a user