fix: npm 折线图 接口参数side 逻辑调整
This commit is contained in:
@@ -149,9 +149,9 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
condition = this.queryCondition
|
condition = this.queryCondition
|
||||||
}
|
}
|
||||||
if (this.tabIndex == 0) {
|
if (parseFloat(this.tabIndex) === 0) {
|
||||||
this.side = 'client'
|
this.side = 'client'
|
||||||
} else if (this.tabIndex == 1) {
|
} else if (parseFloat(this.tabIndex) === 1) {
|
||||||
this.side = 'server'
|
this.side = 'server'
|
||||||
}
|
}
|
||||||
const params = {
|
const params = {
|
||||||
|
|||||||
Reference in New Issue
Block a user