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 9c3f738 commit 34fbe70Copy full SHA for 34fbe70
src/index.js
@@ -21,8 +21,6 @@ const prefix = '_async_computed$'
21
22
const AsyncComputed = {
23
install (Vue, pluginOptions) {
24
- pluginOptions = pluginOptions || {}
25
-
26
Vue.config
27
.optionMergeStrategies
28
.asyncComputed = Vue.config.optionMergeStrategies.computed
@@ -31,7 +29,7 @@ const AsyncComputed = {
31
29
}
32
30
33
34
-function getAsyncComputedMixin (pluginOptions) {
+function getAsyncComputedMixin (pluginOptions = {}) {
35
return {
36
data () {
37
0 commit comments