您的位置: 首页 > IT文章 > vue监听不到props中的值时 vue监听不到props中的值时 分类: IT文章 • 2023-10-28 20:10:22 已解决: watch: { data: { immediate: true, handler: function(newVal) { console.log(newVal); } } },