fix:修复asset编辑页面取消选择机柜未正确修改的bug & 调整traffic配置页面样式

This commit is contained in:
wangwenrui
2020-10-21 14:48:25 +08:00
parent 2e6e9a7ef0
commit bce456af63
5 changed files with 8 additions and 5 deletions

View File

@@ -101,8 +101,8 @@
</script> </script>
<style> <style>
.ql-editor{ .rich-text-editor .ql-editor{
overflow: auto; overflow: auto !important;
} }
.text-too-long{ .text-too-long{
color: #F56C6C; color: #F56C6C;

View File

@@ -580,6 +580,9 @@
if(this.locationInfo.u && this.locationInfo.u.length > 0) { if(this.locationInfo.u && this.locationInfo.u.length > 0) {
this.editAsset.cabinetStart = this.locationInfo.u[0]; this.editAsset.cabinetStart = this.locationInfo.u[0];
this.editAsset.cabinetEnd = this.locationInfo.u[1]; this.editAsset.cabinetEnd = this.locationInfo.u[1];
}else{
this.editAsset.cabinetStart = null;
this.editAsset.cabinetEnd = null;
} }
} }

View File

@@ -39,7 +39,7 @@
this.curConfigs=configs; this.curConfigs=configs;
let position = e.target.getBoundingClientRect(); let position = e.target.getBoundingClientRect();
this.editTagsBox.top = position.top + 25; this.editTagsBox.top = position.top + 25;
this.editTagsBox.left = position.left - 48; this.editTagsBox.left = position.left + 80;
this.tempTagsObj=[]; this.tempTagsObj=[];
this.inputKeyErr=[]; this.inputKeyErr=[];
let obj=null; let obj=null;

View File

@@ -683,7 +683,7 @@
border: 1px solid; border: 1px solid;
border-color: white; border-color: white;
border-radius: 4px; border-radius: 4px;
padding-left: 10px; padding-left: 4px;
background-color: white; background-color: white;
} }
.input-error .el-input__inner,.input-error .el-input__inner:hover,.input-error .el-input__inner:focus, .input-error .el-input__inner,.input-error .el-input__inner:hover,.input-error .el-input__inner:focus,

View File

@@ -948,7 +948,7 @@
background: inherit; background: inherit;
padding: 0; padding: 0;
} }
.ql-editor{ .metric-editor .ql-editor{
padding:7px 10px 10px 10px !important; padding:7px 10px 10px 10px !important;
overflow: hidden; overflow: hidden;
} }