✨ feat(发货单详情): 已完成发货单详情
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import Taro, { FC } from '@tarojs/taro'
|
||||
import Taro from '@tarojs/taro'
|
||||
import { memo, useEffect, useState } from 'react'
|
||||
import useUploadCDNImg from '@/use/useUploadImage'
|
||||
import { Image, Text, View } from '@tarojs/components'
|
||||
@@ -10,9 +10,9 @@ import styles from './index.module.scss'
|
||||
type ImageParam = {
|
||||
onChange?: (val: string[]) => void
|
||||
defaultList?: string[]
|
||||
onlyRead?: false | true
|
||||
onlyRead?: boolean
|
||||
}
|
||||
const PictureItem: FC<ImageParam> = memo(({ onChange, defaultList, onlyRead = false }) => {
|
||||
const PictureItem = memo<ImageParam>(({ onChange, defaultList, onlyRead = false }) => {
|
||||
const { getWxPhoto } = useUploadCDNImg()
|
||||
const [imageList, setImageLise] = useState<string[]>([])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user