We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
var person = { name: "Bob" }; Object.defineProperty(person, "name", { // 是否可以从对象中删除 configurable: true, get: function() { console.log("触发了get方法"); }, set: function() { console.log("触发了set方法"); } })
// 比如某数据源是一个数组 vue1.arr = [1,2,3] // 不会刷新页面显示 vue1.arr[0] = 0; // 刷新页面 vue1.arr = [0,2,3]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Vue原理
注意点
The text was updated successfully, but these errors were encountered: