feat:新增功能
1.panel图表的表单验证 2.panel图表曲线图全屏展示(查询时间还未添加),表格全屏展示 未实现查询功能) fix:修改BUG 1.panel图表未选择label时,多了} 2.panel图表图例中第一个和第二个之间少了逗号
This commit is contained in:
@@ -178,7 +178,7 @@ export default {
|
||||
if (dpsArr.length > 0 && tagsArr.length > 0) {
|
||||
tagsArr.forEach((tag, i) => {
|
||||
if (tag !== '__name__') {
|
||||
host += i === 0 ? `${tag}="${queryItem.metric[tag]}"` : `${tag}="${queryItem.metric[tag]}",`;
|
||||
host += `${tag}="${queryItem.metric[tag]}",`;
|
||||
}
|
||||
});
|
||||
if(host.endsWith(',')){host = host.substr(0,host.length-1);}
|
||||
|
||||
Reference in New Issue
Block a user