소스 검색

fix: 修改新增默认图片

xieyonghong 3 년 전
부모
커밋
c6615a7670
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/pages/device/Instance/Save/index.tsx

+ 1 - 1
src/pages/device/Instance/Save/index.tsx

@@ -16,7 +16,7 @@ interface Props {
   data?: Partial<DeviceInstance>;
 }
 
-const defaultImage = require('/public/images/device-type-3-big.png');
+const defaultImage = '/images/device-product.png';
 
 const Save = (props: Props) => {
   const { visible, close, data } = props;