fix: NpmAppEventTable去除error模拟数据

This commit is contained in:
刘洪洪
2022-11-24 15:26:14 +08:00
parent 8e698f3b78
commit 09edc8961c

View File

@@ -79,7 +79,7 @@
</el-table> </el-table>
<div class="table-error"> <div class="table-error">
<chart-error></chart-error> <chart-error v-if="showError" :content="errorMsg"></chart-error>
</div> </div>
</div> </div>
</template> </template>
@@ -160,8 +160,7 @@ export default {
this.customTableTitles[0].label = this.typeLabelMap[this.metric] this.customTableTitles[0].label = this.typeLabelMap[this.metric]
this.tableData = [] this.tableData = []
const params = { const params = {
startTime: true, startTime: getSecond(this.timeFilter.startTime),
// startTime: getSecond(this.timeFilter.startTime),
endTime: getSecond(this.timeFilter.endTime), endTime: getSecond(this.timeFilter.endTime),
limit: 10, limit: 10,
type: this.metric type: this.metric