Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3ec0244

Browse filesBrowse files
Baoyx007yyx990803
authored andcommitted
feat(optionMergeStrategies): add default strat for subscriptions (#95)
1 parent 9af09a4 commit 3ec0244
Copy full SHA for 3ec0244

File tree

1 file changed

+1
-0
lines changed
Filter options

1 file changed

+1
-0
lines changed

‎src/index.js

Copy file name to clipboardExpand all lines: src/index.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export default function VueRx (Vue) {
1818
Vue.prototype.$subscribeTo = subscribeTo
1919
Vue.prototype.$eventToObservable = eventToObservable
2020
Vue.prototype.$createObservableMethod = createObservableMethod
21+
Vue.config.optionMergeStrategies.subscriptions = Vue.config.optionMergeStrategies.data;
2122
}
2223

2324
// auto install

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.