fix:修复图表 最大值取错值的问题 依旧修改SNMP MIB 下拉样式错乱的问提

This commit is contained in:
zhangyu
2021-03-24 14:39:37 +08:00
parent 5fb0d4d844
commit 5c4b22e582
6 changed files with 22 additions and 24 deletions

View File

@@ -1710,20 +1710,20 @@
if (url) {
return new Promise((resolve, reject) => {
this.$axios
.get(url, {
responseType: 'arraybuffer'
})
.then(res => {
return ('data:image/jpeg;base64,' + btoa(new Uint8Array(res.data).reduce((data, byte) => data + String.fromCharCode(byte), '')))
})
.then(data => {
resolve(data)
// changeImage(data,(img)=>{
// resolve(img)
// })
})
.catch(err => {
})
.get(url, {
responseType: 'arraybuffer'
})
.then(res => {
return ('data:image/jpeg;base64,' + btoa(new Uint8Array(res.data).reduce((data, byte) => data + String.fromCharCode(byte), '')))
})
.then(data => {
resolve(data)
// changeImage(data,(img)=>{
// resolve(img)
// })
})
.catch(err => {
})
})
}
},
@@ -2495,7 +2495,7 @@
}
}
.project-box{
.project-box {
width: 100%;
height: calc(100% - 20px);
margin-top: 10px;