📃 docs:解决冲突问题

This commit is contained in:
Haiyi
2022-09-26 14:36:03 +08:00
103 changed files with 2355 additions and 576 deletions
+4 -3
View File
@@ -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'
@@ -11,10 +11,11 @@ import Popup from '@/components/popup'
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, getChatPhoto } = useUploadCDNImg()
const [imageList, setImageLise] = useState<string[]>([])
useEffect(() => {