官網範例 var vm = new Vue({ data: { a: 1 } }) // `vm.a` is now reactive vm.b = 2 // `vm.b` is NOT reactive. 解法為使用$set. Vue.set(vm.
確定! 回上一頁