watch: {
multiMenuIndex: function(val,oldVal) {
console.log(val,oldVal)
}
如果multiMenuIndex每次传入的值都是1,就不会触发watch
有什么好的解决办法吗?
慕田峪9158850
相关分类