|
|
@@ -198,7 +198,7 @@ export function set (target: Array<any> | Object, key: any, val: any): any {
|
|
|
target[key] = val
|
|
|
return val
|
|
|
}
|
|
|
- const ob = (target : any).__ob__
|
|
|
+ const ob = (target: any).__ob__
|
|
|
if (target._isVue || (ob && ob.vmCount)) {
|
|
|
process.env.NODE_ENV !== 'production' && warn(
|
|
|
'Avoid adding reactive properties to a Vue instance or its root $data ' +
|
|
|
@@ -223,7 +223,7 @@ export function del (target: Array<any> | Object, key: any) {
|
|
|
target.splice(key, 1)
|
|
|
return
|
|
|
}
|
|
|
- const ob = (target : any).__ob__
|
|
|
+ const ob = (target: any).__ob__
|
|
|
if (target._isVue || (ob && ob.vmCount)) {
|
|
|
process.env.NODE_ENV !== 'production' && warn(
|
|
|
'Avoid deleting properties on a Vue instance or its root $data ' +
|