We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a8532d commit fea4e8dCopy full SHA for fea4e8d
doc/api/README.md
@@ -63,7 +63,7 @@ dynamicComponent 状态库中默认有插槽位置`GLOBAL`,当调用下列方
63
64
```javascript
65
import AComponent from './AComponent.vue'
66
-this.$dynamicComponent.add(AComponent, 'HEADER')
+this.$dynamicComponent.create(AComponent, 'HEADER')
67
```
68
69
### .destroy
@@ -79,7 +79,7 @@ this.$dynamicComponent.add(AComponent, 'HEADER')
79
- 用法:
80
81
82
-this.$dynamicComponent.remove('componentName', 'HEADER')
+this.$dynamicComponent.destroy('componentName', 'HEADER')
83
84
85
## vm.$eventBus
0 commit comments