BUG(监控日志管理): 获取监控日志信息优化

pull/27/head
李强 2021-05-02 23:24:50 +08:00
parent dc57574e55
commit ab0ae1a41b
2 changed files with 3 additions and 1 deletions

View File

@ -75,6 +75,7 @@ export default {
lineChartKey: VueTypes.string.isRequired, lineChartKey: VueTypes.string.isRequired,
chartTitle: VueTypes.string.isRequired, chartTitle: VueTypes.string.isRequired,
chartData: VueTypes.array.isRequired, chartData: VueTypes.array.isRequired,
chartTime: VueTypes.array.isRequired,
}, },
data() { data() {
return { return {
@ -82,7 +83,7 @@ export default {
timeLimit: DEFAULT_TIME, timeLimit: DEFAULT_TIME,
lineChartId: this.lineChartKey + 'Chart', lineChartId: this.lineChartKey + 'Chart',
lineChartData: this.chartData, lineChartData: this.chartData,
lineChartTime: this.chartData lineChartTime: this.chartTime
} }
}, },

View File

@ -121,6 +121,7 @@
:server-info="currentServer" :server-info="currentServer"
:chart-title="CHART_KEY_NAME_MAPPING[key]" :chart-title="CHART_KEY_NAME_MAPPING[key]"
:chart-data="lineChartData[key]" :chart-data="lineChartData[key]"
:chart-time="lineChartData['datetime']"
></line-chart> ></line-chart>
</el-card> </el-card>
</div> </div>