dev01 11 months ago
parent
commit
a20f6add5b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/imagePicker/index.js

+ 1 - 1
src/components/imagePicker/index.js

@@ -147,7 +147,7 @@ export default class ImagePicker extends Component {
     const { api, time, id, num = 1 } = this.props
     const { api, time, id, num = 1 } = this.props
     return (
     return (
       <View className='upload'>
       <View className='upload'>
-        {imageUrls && imageUrls.map((url, index) => (
+        {!!id && imageUrls && imageUrls.map((url, index) => (
           <View className='upload-item' key={index}>
           <View className='upload-item' key={index}>
             <Image
             <Image
               className='upload-item-img'
               className='upload-item-img'