|
@@ -183,8 +183,8 @@ computed: {
|
|
|
},
|
|
|
methods: {
|
|
|
...mapActions([
|
|
|
- 'some/nested/module/foo',
|
|
|
- 'some/nested/module/bar'
|
|
|
+ 'some/nested/module/foo', // -> this['some/nested/module/foo']()
|
|
|
+ 'some/nested/module/bar' // -> this['some/nested/module/bar']()
|
|
|
])
|
|
|
}
|
|
|
```
|
|
@@ -200,8 +200,8 @@ computed: {
|
|
|
},
|
|
|
methods: {
|
|
|
...mapActions('some/nested/module', [
|
|
|
- 'foo',
|
|
|
- 'bar'
|
|
|
+ 'foo', // -> this.foo()
|
|
|
+ 'bar' // -> this.bar()
|
|
|
])
|
|
|
}
|
|
|
```
|