fix:删除无用代码

This commit is contained in:
zhangyu
2023-07-20 18:11:10 +08:00
parent e2652c9dc6
commit 4eac2b928e
2 changed files with 1 additions and 6 deletions

View File

@@ -111,10 +111,6 @@ export default {
type: Boolean,
default: true
},
timerInit: {
type: Boolean,
default: true
},
hiddenText: { // 隐藏图表的悬浮文字
type: String
}
@@ -169,7 +165,7 @@ export default {
},
// 参数 isRefresh 标识是否是刷新操作
getChartData (isRefresh, params) { // 获取chart的数据前的准备 主要用于处理时间参数
if (!this.variablesInit || !this.timerInit) { // 变量未加载完成 不请求数据
if (!this.variablesInit) { // 变量未加载完成 不请求数据
return
}
this.chartData = window.dataJson ? this.chartData : []

View File

@@ -103,7 +103,6 @@
<chart-list
ref="chartList"
:variablesInit="variablesInit"
:timerInit="true"
name="dashboard"
:dashboardId="showPanel.id"
:class="{'show-top':showTopBtn, 'is-dashboard': true}"