云平台自测问题修改
This commit is contained in:
@@ -498,9 +498,9 @@ const range = (start: any, end: any, step: any) => {
|
||||
const colors = ['#DAA520', '#2E8B57', '#A52a2a']
|
||||
const lineStyle = [{ type: 'solid' }, { type: 'dashed' }, { type: 'dotted' }]
|
||||
|
||||
const titleList: any = ref('')
|
||||
const titleList: any = ref('(未绑定数据)')
|
||||
const init = (flag: boolean) => {
|
||||
titleList.value = ''
|
||||
titleList.value = '(未绑定数据)'
|
||||
let list: any = []
|
||||
|
||||
//颜色数组
|
||||
@@ -574,6 +574,8 @@ const init = (flag: boolean) => {
|
||||
}).then(res => {
|
||||
if (res.data.length == 0) {
|
||||
titleList.value = '(未绑定数据)'
|
||||
}else{
|
||||
titleList.value = ''
|
||||
}
|
||||
chartTitle.value = chartTitle.value + titleList.value
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user