diff --git a/src/views/trials/trials-panel/reading/reading-task/components/TargetSection.vue b/src/views/trials/trials-panel/reading/reading-task/components/TargetSection.vue index 091c2d21..442c57e5 100644 --- a/src/views/trials/trials-panel/reading/reading-task/components/TargetSection.vue +++ b/src/views/trials/trials-panel/reading/reading-task/components/TargetSection.vue @@ -139,6 +139,18 @@ export default { uploadStatus: 'upload', } }, + watch: { + downloadImageVisible(v) { + if (!v) { + this.getList() + } + }, + uploadImageVisible(v) { + if (!v) { + this.getList() + } + } + }, mounted() { this.getList() }, diff --git a/src/views/trials/trials-panel/reading/reading-task/index.vue b/src/views/trials/trials-panel/reading/reading-task/index.vue index 8b844be0..aa9ff4e0 100644 --- a/src/views/trials/trials-panel/reading/reading-task/index.vue +++ b/src/views/trials/trials-panel/reading/reading-task/index.vue @@ -235,6 +235,11 @@ export default { this.getList() } }, + TargetSection_visible(v) { + if (!v) { + this.getList() + } + } }, mounted() { window.addEventListener('message', this.receiveMsg)