|
@ -207,7 +207,7 @@ const DeviceTypeMap = { |
|
|
export function getDeviceList(deviceType, options) { |
|
|
export function getDeviceList(deviceType, options) { |
|
|
return new Promise((resolve, reject) => { |
|
|
return new Promise((resolve, reject) => { |
|
|
if (!deviceType) { |
|
|
if (!deviceType) { |
|
|
Message.error(`${DeviceTypeMap[deviceType]}设备加载失败!`); |
|
|
// Message.error(`${DeviceTypeMap[deviceType]}设备加载失败!`);
|
|
|
return reject(); |
|
|
return reject(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|