Skip to content
Snippets Groups Projects
Commit b98860ac authored by Pan's avatar Pan Committed by 花裤衩
Browse files

refine inline edit table example

parent 3c05519a
No related branches found
No related tags found
No related merge requests found
......@@ -83,8 +83,9 @@ export default {
getList() {
this.listLoading = true
fetchList(this.listQuery).then(response => {
this.list = response.data.items.map(v => {
v.edit = false
const items = response.data.items
this.list = items.map(v => {
this.$set(v, 'edit', false)
return v
})
this.listLoading = false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment