fix: npm 折线图 接口参数side 逻辑调整

This commit is contained in:
@changcode
2022-12-15 10:37:06 +08:00
parent fadfe1612e
commit df820295fe

View File

@@ -149,9 +149,9 @@ export default {
} else {
condition = this.queryCondition
}
if (this.tabIndex == 0) {
if (parseFloat(this.tabIndex) === 0) {
this.side = 'client'
} else if (this.tabIndex == 1) {
} else if (parseFloat(this.tabIndex) === 1) {
this.side = 'server'
}
const params = {