From 04014ab524ca52ebe0a95504051fcda00c69af1d Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Tue, 19 May 2026 15:26:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B6=E4=BB=96=E7=B1=BB=E5=9E=8B=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=90=8C=E6=AD=A5=E6=95=B0=E6=8D=AE=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../trial-summary/data-sync/components/TaskList.vue | 4 +++- .../trials/trials-panel/trial-summary/data-sync/index.vue | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/trials/trials-panel/trial-summary/data-sync/components/TaskList.vue b/src/views/trials/trials-panel/trial-summary/data-sync/components/TaskList.vue index 2ebac8b2..0356b741 100644 --- a/src/views/trials/trials-panel/trial-summary/data-sync/components/TaskList.vue +++ b/src/views/trials/trials-panel/trial-summary/data-sync/components/TaskList.vue @@ -136,7 +136,9 @@ export default { }, rowInfo: { type: Object, - required: true, + default() { + return {} + } }, }, data() { diff --git a/src/views/trials/trials-panel/trial-summary/data-sync/index.vue b/src/views/trials/trials-panel/trial-summary/data-sync/index.vue index 8fa642f3..d269e1fa 100644 --- a/src/views/trials/trials-panel/trial-summary/data-sync/index.vue +++ b/src/views/trials/trials-panel/trial-summary/data-sync/index.vue @@ -44,7 +44,7 @@ export default { activeTab: 'study', tabInfo: { activeTab: 'file', - currentRow: null + currentRow: {} }, fileUploadRecordId: '', path: '' @@ -52,7 +52,7 @@ export default { }, methods: { openTaskTable(obj) { - this.tabInfo.currentRow = obj || null + this.tabInfo.currentRow = obj || {} this.fileUploadRecordId = obj.Id this.path = obj.Path this.tabInfo.activeTab = 'task'