This commit is contained in:
‘937886381’
2024-07-11 14:34:19 +08:00
parent 074432851c
commit 11387724de
5 changed files with 50 additions and 36 deletions

View File

@@ -192,15 +192,12 @@ export default {
this.makeData();
this.$nextTick(() => {
let button = document.getElementsByClassName('button-than')
console.log(button);
button[0].children[0].style.borderRadius = '4px 0 0 4px'
button[0].children[1].style.borderRadius = '0px 4px 4px 0'
console.log(button[0].children[0].style);
})
},
methods: {
makeData() {
console.log('msgObj', this.msgObj);
this.msgObj.chip = {};
this.msgObj.stand = {};
this.msgObj.bipv = {};

View File

@@ -1,7 +1,7 @@
<!--
* @Author: zhp
* @Date: 2024-06-20 16:13:52
* @LastEditTime: 2024-07-09 16:14:43
* @LastEditTime: 2024-07-11 13:52:44
* @LastEditors: zhp
* @Description:
-->
@@ -51,7 +51,6 @@ export default {
},
},
formatter: function (params) {
console.log('params', params);
var res = `<span style='color:rgba(0,0,0,0.8)'>${params[0].axisValueLabel}</span>`;
for (var i = 0, l = params.length; i < l; i++) {
res +=