feat:type 22 (30%)
This commit is contained in:
@@ -184,11 +184,12 @@ export default {
|
||||
const requestUrl = url || (chartParams && chartParams.url)
|
||||
if (requestUrl) {
|
||||
get(replaceUrlPlaceholder(requestUrl, this.queryParams)).then(response => {
|
||||
console.log(testData)
|
||||
if (this.chartInfo.type === 23 && testData) {
|
||||
response = testData.data
|
||||
} else if (this.chartInfo.type === 24 && testData) {
|
||||
response = testData.data2
|
||||
} else if (this.chartInfo.type === 22 && testData) {
|
||||
response = testData.data3
|
||||
}
|
||||
if (response.code === 200) {
|
||||
this.chartData = response.data.result
|
||||
|
||||
Reference in New Issue
Block a user