我在watch里修改 写的不是很好 但是能重置 (在引入组件那边重新将values值定义为初始值就行)
//设置初始值
values: function(newVal, oldVal, changedPath) {
var that = this;
var values = that.values;
// console.log('refresh', newVal, oldVal);
if (that._isValuesValid(newVal) && that._isValuesValid(values)) {
if (values[0] != oldVal[0] && values[1] == oldVal[1]) that._refresh2();
if (values[0] != oldVal[0] && values[1] != oldVal[1]) that._refresh3();
if (values[0] == oldVal[0] && values[1] != oldVal[1]) that._refresh();
// if (values[0] != oldVal[0] || values[1] != oldVal[1]) that._refresh();
}
}