diff --git a/frontend/src/business/components/track/case/TestCase.vue b/frontend/src/business/components/track/case/TestCase.vue index 1ef6ebd3b0..f60dde48e1 100644 --- a/frontend/src/business/components/track/case/TestCase.vue +++ b/frontend/src/business/components/track/case/TestCase.vue @@ -748,7 +748,10 @@ export default { }); }, enableTrash(data) { - this.trashEnable = data; + this.trashEnable = !data; + this.$nextTick(() => { + this.trashEnable = data; + }) }, enablePublic(data) { this.publicEnable = !data;