|
@@ -2247,7 +2247,7 @@ const GetMachineMac = async () => {
|
|
|
xmlhttp.open("get", "http://127.0.0.1:8090/init")
|
|
xmlhttp.open("get", "http://127.0.0.1:8090/init")
|
|
|
// 5. 发送
|
|
// 5. 发送
|
|
|
xmlhttp.send();
|
|
xmlhttp.send();
|
|
|
- const response = await getMachineMac({ addr: '68-ED-A4-26-5D-5E' });
|
|
|
|
|
|
|
+ const response = await getMachineMac({ addr: '68-ED-A4-26-60-C8' });
|
|
|
console.log(response);
|
|
console.log(response);
|
|
|
if (response.code === 0) {
|
|
if (response.code === 0) {
|
|
|
// 将接口返回的数据添加到树型结构中
|
|
// 将接口返回的数据添加到树型结构中
|