refactor: 仪表盘极值设置优化
This commit is contained in:
parent
1bc5afa52b
commit
c39ae62062
@ -361,6 +361,10 @@ export default {
|
||||
},
|
||||
changeBarSizeCase(modifyName) {
|
||||
this.sizeForm['modifyName'] = modifyName
|
||||
if (this.sizeForm.gaugeMax <= this.sizeForm.gaugeMin) {
|
||||
this.$message.error(this.$t('chart.max_more_than_mix'))
|
||||
return
|
||||
}
|
||||
this.$emit('onSizeChange', this.sizeForm)
|
||||
},
|
||||
showProperty(property) {
|
||||
|
||||
@ -552,6 +552,10 @@ export default {
|
||||
},
|
||||
changeBarSizeCase(modifyName) {
|
||||
this.sizeForm['modifyName'] = modifyName
|
||||
if (this.sizeForm.gaugeMax <= this.sizeForm.gaugeMin) {
|
||||
this.$message.error(this.$t('chart.max_more_than_mix'))
|
||||
return
|
||||
}
|
||||
this.$emit('onSizeChange', this.sizeForm)
|
||||
},
|
||||
showProperty(property) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user