fix:修改BUG
dashboard模块图表 1.tooltip去掉指定label功能去掉 2.图表高度调整 3.y轴刻度数值显示不全 4.metric的expert模式进行格式化,去掉空白字符 5.tooltip内容格式调整优化(一行显示,超出显示省略号,提示框显示位置等调整)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user