Explorar el Código

fix: 修改新增默认图片

xieyonghong hace 3 años
padre
commit
c6615a7670
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;