docs: update global method guide

This commit is contained in:
chenjiahan
2020-08-20 23:26:34 +08:00
parent 7cadc5e60f
commit 9a86e9e6ca
7 changed files with 27 additions and 7 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ Notify({
### Global Method
After import the Notify component, the `$notify` method is automatically mounted on Vue.prototype, making it easy to call within a vue component.
After registering the Notify component through `app.use`, the `$notify` method will be automatically mounted on all subcomponents of the app.
```js
export default {