fix:修复project 底部弹出框在切换module时没有关闭的问题 & 阈值类型调整
This commit is contained in:
@@ -430,7 +430,7 @@ let unitOptions=[
|
||||
{
|
||||
value:4,
|
||||
compute:percent02,
|
||||
label:'percent(0.0-0.1)'
|
||||
label:'percent(0.0-1.0)'
|
||||
},
|
||||
{
|
||||
value:5,
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
</el-form-item>
|
||||
<!--threshold-->
|
||||
<el-form-item :label="$t('alert.config.threshold')" prop="threshold" style="width: 415px;display: inline-block;">
|
||||
<el-input type="text" placeholder="" v-model.number="editAlertRule.threshold" size="small">
|
||||
<el-input type="text" placeholder="" v-model="editAlertRule.threshold" size="small">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<!--unit-->
|
||||
@@ -152,7 +152,6 @@
|
||||
],
|
||||
threshold:[
|
||||
{required:true,message:this.$t('validate.required'),trigger:'blur'},
|
||||
{type:'number',message:this.$t('validate.number')}
|
||||
],
|
||||
},
|
||||
operators:[
|
||||
|
||||
@@ -573,6 +573,7 @@
|
||||
});
|
||||
bus.$on("current-module-change", module => {
|
||||
this.currentModule = module;
|
||||
this.bottomBox.showSubList=false;
|
||||
});
|
||||
bus.$on("project-list-change", () => {
|
||||
this.getProjectList();
|
||||
|
||||
Reference in New Issue
Block a user