fix: config-provider error when change prop
parent
84165c4f98
commit
7a40031955
|
@ -7,7 +7,7 @@ import Base from '../base';
|
||||||
function getWatch(keys = []) {
|
function getWatch(keys = []) {
|
||||||
const watch = {};
|
const watch = {};
|
||||||
keys.forEach(k => {
|
keys.forEach(k => {
|
||||||
watch[k] = function() {
|
watch[k] = function(value) {
|
||||||
this._proxyVm._data[k] = value;
|
this._proxyVm._data[k] = value;
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue