NEZ-1692 fix:修改 state为All 时 删除接口报错的问题

This commit is contained in:
zhangyu
2022-03-23 10:56:43 +08:00
parent 5f3d16f29f
commit 88e3553c51
2 changed files with 33 additions and 9 deletions

View File

@@ -285,7 +285,7 @@ export default {
cancelButtonText: this.$t('tip.no'),
type: 'warning'
}).then(() => {
this.$delete(this.url + '?ids=' + row.id + '&state=' + this.state).then(response => {
this.$delete(this.url + '?ids=' + row.id + '&state=' + row.state).then(response => {
if (response.code === 200) {
self.delFlag = true
this.$message({ duration: 2000, type: 'success', message: this.$t('tip.deleteSuccess') })