You need to sign in or sign up before continuing.
|
@@ -144,11 +144,6 @@ |
|
@@ -144,11 +144,6 @@ |
|
144
|
deviceList.value = deWeightThree();
|
144
|
deviceList.value = deWeightThree();
|
|
145
|
const findEditValue = deviceList.value.findIndex((f) => f.value == e.value);
|
145
|
const findEditValue = deviceList.value.findIndex((f) => f.value == e.value);
|
|
146
|
if (findEditValue !== -1) deviceList.value.splice(findEditValue, 1);
|
146
|
if (findEditValue !== -1) deviceList.value.splice(findEditValue, 1);
|
|
147
|
- // try {
|
|
|
|
148
|
- // if (deviceList.value[0]?.attributes.length > 0) {
|
|
|
|
149
|
- // deviceList.value.splice(0, 1);
|
|
|
|
150
|
- // }
|
|
|
|
151
|
- // } catch {}
|
|
|
|
152
|
} else {
|
147
|
} else {
|
|
153
|
const eDevice = e.key || e.value;
|
148
|
const eDevice = e.key || e.value;
|
|
154
|
const findValue = deviceList.value.findIndex((f) => f.value == eDevice);
|
149
|
const findValue = deviceList.value.findIndex((f) => f.value == eDevice);
|
|
@@ -126,12 +126,8 @@ |
|
@@ -126,12 +126,8 @@ |
|
126
|
axisPointer: { type: 'shadow' },
|
126
|
axisPointer: { type: 'shadow' },
|
|
127
|
axisLabel: {
|
127
|
axisLabel: {
|
|
128
|
color: '#333',
|
128
|
color: '#333',
|
|
129
|
- // 让x轴文字方向为竖向
|
|
|
|
130
|
interval: 0,
|
129
|
interval: 0,
|
|
131
|
rotate: 90,
|
130
|
rotate: 90,
|
|
132
|
- // formatter: function (value) {
|
|
|
|
133
|
- // return value.split('').join('\n');
|
|
|
|
134
|
- // },
|
|
|
|
135
|
},
|
131
|
},
|
|
136
|
},
|
132
|
},
|
|
137
|
yAxis: {
|
133
|
yAxis: {
|