*/ export function set (target: Array<any> | Object, key: any, val: any): any { if (process.env.NODE_ENV !== 'production' && (isUndef(target) || isPrimitive(target)) ) { warn(`Cannot set reactive property on un
Vue data driver adopts mvvm mode, m is the data layer, v is the view layer, and vm is the scheduler
export function set (target: Array<any> | Object, key: any, val: any): any { if (process.env.NODE_ENV !== 'production' && (isUndef(target) || isPrimitive(target)) ) { warn(`Cannot set reactive property on undefined, null, or primitive value: ${(target: any)}`) } // 判断 ta...
Go to file T Go to line L Copy path Cannot retrieve contributors at this time 9464 lines (9464 sloc) 324 KB Raw Blame { "name": "component", "version": "1.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { "@babel/code-frame": { "version": "7.0.0-beta....
{any} value Returns: the set value. Usage: Adds a property to a reactive object, ensuring the new property is also reactive, so triggers view updates. This must be used to add new properties to reactive objects, as Vue cannot detect normal property additions (e.g. this.myObject.newPrope...
convert-source-map "^1.1.0" debug "^3.1.0" json5 "^0.5.0" lodash "^4.17.5" micromatch "^2.3.11" resolve "^1.3.2" semver "^5.4.1" source-map "^0.5.0" "@babel/generator@7.0.0-beta.44": version "7.0.0-beta.44" resolved "http://registry.npm.taobao.org/@babel/generator/dow...
However, it disregards all the other properties, which means that sorting, filtering and presentation will all refer to the single piece of primitive data at the "end of the chain". If you want to use the entire object, option 2 is your best route. This will allow you to incorporate ...
babel-plugin-syntax-trailing-function-commas "^6.22.0" babel-plugin-transform-async-generator-functions "^6.24.1" babel-plugin-transform-async-to-generator "^6.24.1" babel-plugin-transform-exponentiation-operator "^6.24.1" babel-plugin-transform-object-rest-spread "^6.22.0" babel-register@^6.2...
Go to file T Go to line L Copy path Cannot retrieve contributors at this time 11250 lines (11250 sloc) 371 KB Raw Blame { "name": "vue2-health", "version": "1.1.0", "lockfileVersion": 1, "requires": true, "dependencies": { "accepts": { "version": "1.3.4", "resolved":...
However, it disregards all the other properties, which means that sorting, filtering and presentation will all refer to the single piece of primitive data at the "end of the chain". If you want to use the entire object, option 2 is your best route. This will allow you to incorporate ...