Browse Source

(*)去除按钮,图片不显示

dev
ww664853070 2 years ago
parent
commit
aa645b18df
  1. 7
      weapp/src/packages/patrol/index.jsx

7
weapp/src/packages/patrol/index.jsx

@ -617,7 +617,8 @@ const Index = () => {
} }
}) })
} }
console.log(setVideoqn, '==============='); console.log(handleType, '===============');
console.log(handle, '--------------');
return ( return (
<View className='patrol'> <View className='patrol'>
{/* { {/* {
@ -960,7 +961,7 @@ const Index = () => {
<View className='patrol-img'> <View className='patrol-img'>
处理图片 处理图片
{ {
handle == 'handle' ? handle == 'handle' || handleType != '已处理' ?
<View className='img-box'> <View className='img-box'>
{handlePic.map(item => ( {handlePic.map(item => (
<Image className='img' src={item.url} onClick={() => handleImgClicks(undefined, item)} /> <Image className='img' src={item.url} onClick={() => handleImgClicks(undefined, item)} />
@ -975,7 +976,7 @@ const Index = () => {
onImageClick={handleImgClick} onImageClick={handleImgClick}
/> : '' /> : ''
} }
{handle != 'handle' ? <AtButton type='primary' className='sub-btn' onClick={handleOk}>提交</AtButton> : ''} {handle != 'handle' && handleType != '已处理' ? <AtButton type='primary' className='sub-btn' onClick={handleOk}>提交</AtButton> : ''}
</View> </View>
</view> : '' </view> : ''
} }

Loading…
Cancel
Save