fix(消息设置):修复点击取消记录在页面消失
This commit is contained in:
parent
c482bdc985
commit
0d663a0579
|
@ -204,7 +204,11 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
removeRowTask(index, data) { //移除
|
removeRowTask(index, data) { //移除
|
||||||
data.splice(index, 1)
|
if (!data[index].identification) {
|
||||||
|
data.splice(index, 1)
|
||||||
|
} else {
|
||||||
|
data[index].isSet = false
|
||||||
|
}
|
||||||
},
|
},
|
||||||
deleteRowTask(index, data) { //删除
|
deleteRowTask(index, data) { //删除
|
||||||
this.result = this.$get("/notice/delete/message/" + data.identification, response => {
|
this.result = this.$get("/notice/delete/message/" + data.identification, response => {
|
||||||
|
|
|
@ -205,7 +205,12 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
removeRowTask(index, data) { //移除
|
removeRowTask(index, data) { //移除
|
||||||
data.splice(index, 1)
|
if (!data[index].identification) {
|
||||||
|
data.splice(index, 1)
|
||||||
|
} else {
|
||||||
|
data[index].isSet = false
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
deleteRowTask(index, data) { //删除
|
deleteRowTask(index, data) { //删除
|
||||||
this.result = this.$get("/notice/delete/message/" + data.identification, response => {
|
this.result = this.$get("/notice/delete/message/" + data.identification, response => {
|
||||||
|
|
|
@ -196,7 +196,11 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
removeRowTask(index, data) { //移除
|
removeRowTask(index, data) { //移除
|
||||||
data.splice(index, 1)
|
if (!data[index].identification) {
|
||||||
|
data.splice(index, 1)
|
||||||
|
} else {
|
||||||
|
data[index].isSet = false
|
||||||
|
}
|
||||||
},
|
},
|
||||||
deleteRowTask(index, data) { //删除
|
deleteRowTask(index, data) { //删除
|
||||||
this.result = this.$get("/notice/delete/message/" + data.identification, response => {
|
this.result = this.$get("/notice/delete/message/" + data.identification, response => {
|
||||||
|
|
|
@ -210,7 +210,11 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
removeRowTask(index, data) { //移除
|
removeRowTask(index, data) { //移除
|
||||||
data.splice(index, 1)
|
if (!data[index].identification) {
|
||||||
|
data.splice(index, 1)
|
||||||
|
} else {
|
||||||
|
data[index].isSet = false
|
||||||
|
}
|
||||||
},
|
},
|
||||||
deleteRowTask(index, data) { //删除
|
deleteRowTask(index, data) { //删除
|
||||||
this.result = this.$get("/notice/delete/message/" + data.identification, response => {
|
this.result = this.$get("/notice/delete/message/" + data.identification, response => {
|
||||||
|
|
|
@ -211,7 +211,11 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
removeRowTask(index, data) { //移除
|
removeRowTask(index, data) { //移除
|
||||||
data.splice(index, 1)
|
if (!data[index].identification) {
|
||||||
|
data.splice(index, 1)
|
||||||
|
} else {
|
||||||
|
data[index].isSet = false
|
||||||
|
}
|
||||||
},
|
},
|
||||||
deleteRowTask(index, data) { //删除
|
deleteRowTask(index, data) { //删除
|
||||||
this.result = this.$get("/notice/delete/message/" + data.identification, response => {
|
this.result = this.$get("/notice/delete/message/" + data.identification, response => {
|
||||||
|
|
Loading…
Reference in New Issue