Commit b756c1fc57742fc7ab7c8dcd9b48efce9c516caa

Authored by fengtao
1 parent 9bd5986d

pref:移除未使用的代码

... ... @@ -144,11 +144,6 @@
144 144 deviceList.value = deWeightThree();
145 145 const findEditValue = deviceList.value.findIndex((f) => f.value == e.value);
146 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 147 } else {
153 148 const eDevice = e.key || e.value;
154 149 const findValue = deviceList.value.findIndex((f) => f.value == eDevice);
... ...
... ... @@ -126,12 +126,8 @@
126 126 axisPointer: { type: 'shadow' },
127 127 axisLabel: {
128 128 color: '#333',
129   - // 让x轴文字方向为竖向
130 129 interval: 0,
131 130 rotate: 90,
132   - // formatter: function (value) {
133   - // return value.split('').join('\n');
134   - // },
135 131 },
136 132 },
137 133 yAxis: {
... ...