Commit b756c1fc57742fc7ab7c8dcd9b48efce9c516caa

Authored by fengtao
1 parent 9bd5986d

pref:移除未使用的代码

@@ -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: {