@@ -206,11 +206,11 @@ type: api
206
206
207
207
- ** See also:** [ Async Update Queue] ( ../guide/reactivity.html#Async-Update-Queue )
208
208
209
- <h3 id =" Vue-set " >Vue.set( object , key, value )</h3 >
209
+ <h3 id =" Vue-set " >Vue.set( target , key, value )</h3 >
210
210
211
211
- ** Arguments:**
212
- - ` {Object} object `
213
- - ` {string} key `
212
+ - ` {Object | Array} target `
213
+ - ` {string | number } key `
214
214
- ` {any} value `
215
215
216
216
- ** Returns:** the set value.
@@ -1277,11 +1277,11 @@ All lifecycle hooks automatically have their `this` context bound to the instanc
1277
1277
// callback is fired immediately with current value of `a`
1278
1278
` ` `
1279
1279
1280
- <h3 id="vm-set">vm.$set( object , key, value )</h3>
1280
+ <h3 id="vm-set">vm.$set( target , key, value )</h3>
1281
1281
1282
1282
- **Arguments:**
1283
- - ` {Object } object `
1284
- - ` {string} key`
1283
+ - ` {Object | Array } target `
1284
+ - ` {string | number } key`
1285
1285
- ` {any} value`
1286
1286
1287
1287
- **Returns:** the set value.
@@ -1292,11 +1292,11 @@ All lifecycle hooks automatically have their `this` context bound to the instanc
1292
1292
1293
1293
- **See also:** [Vue.set](#Vue-set)
1294
1294
1295
- <h3 id="vm-delete">vm.$delete( object , key )</h3>
1295
+ <h3 id="vm-delete">vm.$delete( target , key )</h3>
1296
1296
1297
1297
- **Arguments:**
1298
- - ` {Object } object `
1299
- - ` {string} key`
1298
+ - ` {Object | Array } target `
1299
+ - ` {string | number } key`
1300
1300
1301
1301
- **Usage:**
1302
1302
0 commit comments