wzyyy 3 лет назад
Родитель
Сommit
273371ea73

+ 2 - 2
src/pages/device/Product/Detail/BaseInfo/index.tsx

@@ -257,11 +257,11 @@ const BaseInfo = (props: BaseInfoProps) => {
         </Descriptions.Item>
         <Descriptions.Item
           label={intl.formatMessage({
-            id: 'pages.device.productDetail.updateTime',
+            id: 'pages.device.productDetail.modifyTime',
             defaultMessage: '更新时间',
           })}
         >
-          {getDateFormat(productModel.current?.updateTime)}
+          {getDateFormat(productModel.current?.modifyTime)}
         </Descriptions.Item>
         <Descriptions.Item
           span={3}

+ 1 - 0
src/pages/device/Product/typings.d.ts

@@ -29,6 +29,7 @@ export type ProductItem = {
   photoUrl?: string;
   storePolicy?: string;
   accessProvider?: string;
+  modifyTime?: string;
 };
 
 export type ConfigProperty = {