fix:修改BUG

dashboard模块图表
1.tooltip去掉指定label功能去掉
2.图表高度调整
3.y轴刻度数值显示不全
4.metric的expert模式进行格式化,去掉空白字符
5.tooltip内容格式调整优化(一行显示,超出显示省略号,提示框显示位置等调整)
This commit is contained in:
hanyuxia
2020-02-14 17:57:15 +08:00
parent e7d0ff62e8
commit 0324219e40
6 changed files with 1115 additions and 1048 deletions

View File

@@ -275,6 +275,9 @@ export default {
if (this.pointer === pointer) {
this.$refs.elementInfo.validate((valid) => {
if (valid) {//根据设置的rules进行验证验证通过则返回继续进行保存每个el-form-item都需要验证
if(this.elementInfo.expression){
this.elementInfo.expression = this.elementInfo.expression.replace(/\s+| /ig,'');
}
this.$emit('on-add-target-success', this.elementInfo, pointer);
}
});