refine inline edit table example
This commit is contained in:
parent
3c05519a09
commit
b98860ace1
|
@ -83,8 +83,9 @@ export default {
|
||||||
getList() {
|
getList() {
|
||||||
this.listLoading = true
|
this.listLoading = true
|
||||||
fetchList(this.listQuery).then(response => {
|
fetchList(this.listQuery).then(response => {
|
||||||
this.list = response.data.items.map(v => {
|
const items = response.data.items
|
||||||
v.edit = false
|
this.list = items.map(v => {
|
||||||
|
this.$set(v, 'edit', false)
|
||||||
return v
|
return v
|
||||||
})
|
})
|
||||||
this.listLoading = false
|
this.listLoading = false
|
||||||
|
|
Loading…
Reference in New Issue