watch(
[() => , ], ([newVal1, newVal2], [oldVal1, oldVal2]) => {
('watch监听中的newVal:', newVal1, newVal2);
('watch监听oldVal:', oldVal1, oldVal2);
}
)
watch(
[() => , ], ([newVal1, newVal2], [oldVal1, oldVal2]) => {
('watch监听中的newVal:', newVal1, newVal2);
('watch监听oldVal:', oldVal1, oldVal2);
}
)