Compare commits
2 Commits
3118185b31
...
01e79bcf93
| Author | SHA1 | Date | |
|---|---|---|---|
| 01e79bcf93 | |||
| b0f13bc3f1 |
@ -1,3 +1,8 @@
|
|||||||
|
# 1.0.8
|
||||||
|
|
||||||
|
1. 修复“允许拉起服务端”配置项无效的问题
|
||||||
|
2. 修复网页端无法获取器件数据的问题
|
||||||
|
|
||||||
# 1.0.7
|
# 1.0.7
|
||||||
|
|
||||||
1. 新增“出库自动填充 BOM”选项:开启后,打开出库界面将自动填充 BOM
|
1. 新增“出库自动填充 BOM”选项:开启后,打开出库界面将自动填充 BOM
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"uuid": "944f7c94a8ca485e848f1118effcbb9a",
|
"uuid": "944f7c94a8ca485e848f1118effcbb9a",
|
||||||
"displayName": "LEYE",
|
"displayName": "LEYE",
|
||||||
"description": "LEYE 电子元器件库存管理系统 EDA 联动扩展",
|
"description": "LEYE 电子元器件库存管理系统 EDA 联动扩展",
|
||||||
"version": "1.0.7",
|
"version": "1.0.8",
|
||||||
"publisher": "Mr_Fang",
|
"publisher": "Mr_Fang",
|
||||||
"engines": {
|
"engines": {
|
||||||
"eda": "^3.2.80"
|
"eda": "^3.2.80"
|
||||||
|
|||||||
@ -267,7 +267,8 @@
|
|||||||
let detail = { name: '-', value: '-', footprint: '-', brand: '-', designatorStr: '手动添加', selected: false };
|
let detail = { name: '-', value: '-', footprint: '-', brand: '-', designatorStr: '手动添加', selected: false };
|
||||||
|
|
||||||
if (devs[0]) {
|
if (devs[0]) {
|
||||||
const infoRes = await eda.sys_ClientUrl.request('https://client/api/v2/devices/' + devs[0].uuid, 'GET', null, {
|
const EDA_HOST = eda.sys_Environment.isClient() ? 'https://client' : 'https://pro.lceda.cn';
|
||||||
|
const infoRes = await eda.sys_ClientUrl.request(EDA_HOST + '/api/v2/devices/' + devs[0].uuid, 'GET', null, {
|
||||||
headers: { path: '0819f05c4eef4c71ace90d822a990e87' },
|
headers: { path: '0819f05c4eef4c71ace90d822a990e87' },
|
||||||
});
|
});
|
||||||
const info = (await infoRes.json()).result;
|
const info = (await infoRes.json()).result;
|
||||||
@ -295,8 +296,8 @@
|
|||||||
return eda.sys_Message.showToastMessage('请先勾选要出库的器件', ESYS_ToastMessageType.WARNING);
|
return eda.sys_Message.showToastMessage('请先勾选要出库的器件', ESYS_ToastMessageType.WARNING);
|
||||||
}
|
}
|
||||||
|
|
||||||
const SERVER = (await eda.sys_Storage.getExtensionUserConfig('server-host')) || 'http://localhost:21816';
|
const SERVER = (await eda.sys_Storage.getExtensionUserConfig('server-host')) ?? 'http://localhost:21816';
|
||||||
const AUTO_RUN = (await eda.sys_Storage.getExtensionUserConfig('server-auto-run')) || true;
|
const AUTO_RUN = (await eda.sys_Storage.getExtensionUserConfig('server-auto-run')) ?? true;
|
||||||
let successCount = 0;
|
let successCount = 0;
|
||||||
let failItems = [];
|
let failItems = [];
|
||||||
|
|
||||||
|
|||||||
1060
iframe/import.html
1060
iframe/import.html
File diff suppressed because it is too large
Load Diff
1085
iframe/newLeye.html
1085
iframe/newLeye.html
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user