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 6ef437d commit 438603cCopy full SHA for 438603c
src/lib/add-attrs.js
@@ -1,11 +1,12 @@
1
import Vue from 'vue'
2
3
export default function addAttrs (vm, attrs) {
4
+ const originalVueConfig = Vue.config
5
Vue.config.silent = true
6
if (attrs) {
7
vm.$attrs = attrs
8
} else {
9
vm.$attrs = {}
10
}
- Vue.config.silent = false
11
+ Vue.config.silent = originalVueConfig.silent
12
src/lib/add-listeners.js
export default function addListeners (vm, listeners) {
if (listeners) {
vm.$listeners = listeners
vm.$listeners = {}
0 commit comments