update 性能指标tab第一次切换无数据
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
:export-api="exportPerformanceApi"
|
||||
showCheckbox
|
||||
hidePagination
|
||||
:data="performanceData"
|
||||
:actionList="showLeftOptions ? actionList : []"
|
||||
:export-params="excelParams"
|
||||
:full-height="fullHeight"
|
||||
@@ -52,6 +53,7 @@
|
||||
<BaseTable
|
||||
tableName="TASK_RUN_PERFORMANCE"
|
||||
ref="baseTableRef"
|
||||
:data="performanceData"
|
||||
:export-file-name="'指标列表'"
|
||||
:export-api="exportPerformanceApi"
|
||||
showCheckbox
|
||||
@@ -178,10 +180,6 @@ const getTaskPerformanceDataFun = async () => {
|
||||
completeStatus,
|
||||
};
|
||||
});
|
||||
|
||||
if (baseTableRef.value) {
|
||||
baseTableRef.value.setDataFun(performanceData.value);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user