已合并
【修改描述】修复FRU页面不显示产品的扩展信息 #574
HKZY_yangbo创建于 14 天前
【修改描述】修复FRU页面不显示产品的扩展信息 #574
已合并
共 2 个文件变更+2-7
| @@ -1,7 +1,7 @@ | |||
| 1 | { | 1 | { |
| 2 | "name": "webui", | 2 | "name": "webui", |
| 3 | "type": "configuration", | 3 | "type": "configuration", |
| 4 | - "version": "1.100.118", | 4 | + "version": "1.100.119", |
| 5 | "author": "Huawei", | 5 | "author": "Huawei", |
| 6 | "license": "Mulan PSL v2", | 6 | "license": "Mulan PSL v2", |
| 7 | "dependencies": { | 7 | "dependencies": { |
| @@ -38,11 +38,6 @@ const productExtendArr = [ | |||
| 38 | content: 'productFruFileId', | 38 | content: 'productFruFileId', |
| 39 | hide: true | 39 | hide: true |
| 40 | }, | 40 | }, |
| 41 | - { | ||
| 42 | - label: 'FRU_PRODUCT_INFO', | ||
| 43 | - content: 'productCustomInfo', | ||
| 44 | - hide: true | ||
| 45 | - }, | ||
| 46 | { | 41 | { |
| 47 | label: 'FRU_PRODUCT_EXTEND_LABEL', | 42 | label: 'FRU_PRODUCT_EXTEND_LABEL', |
| 48 | content: 'productCustomInfo', | 43 | content: 'productCustomInfo', |
| @@ -239,7 +234,7 @@ const getProductResult = (info: any) => { | |||
| 239 | productName: isOtherEmptyProperty(info?.ProductName) || ' ', | 234 | productName: isOtherEmptyProperty(info?.ProductName) || ' ', |
| 240 | assetTag: isOtherEmptyProperty(info?.AssetTag) || ' ', | 235 | assetTag: isOtherEmptyProperty(info?.AssetTag) || ' ', |
| 241 | productFruFileId: isOtherEmptyProperty(info?.ProductFRUFileID) || ' ', | 236 | productFruFileId: isOtherEmptyProperty(info?.ProductFRUFileID) || ' ', |
| 242 | - productCustomInfo: isOtherEmptyProperty(info?.productCustomInfo) || ' ', | 237 | + productCustomInfo: isOtherEmptyProperty(info?.ProductCustomInfo) || ' ', |
| 243 | productPartNumber: isOtherEmptyProperty(info?.ProductPartNumber) || ' ', | 238 | productPartNumber: isOtherEmptyProperty(info?.ProductPartNumber) || ' ', |
| 244 | productVersion: isOtherEmptyProperty(info?.ProductVersion) || ' ', | 239 | productVersion: isOtherEmptyProperty(info?.ProductVersion) || ' ', |
| 245 | manufacturerName: isOtherEmptyProperty(info?.ManufacturerName) || ' ', | 240 | manufacturerName: isOtherEmptyProperty(info?.ManufacturerName) || ' ', |