Browse Source

图片

yunpan
liwenxuan 3 months ago
parent
commit
bcff981a25
  1. 13
      src/components/lowCode/assistant/lowcodeImage.vue

13
src/components/lowCode/assistant/lowcodeImage.vue

@ -257,10 +257,19 @@ const attrs = useAttrs()
onMounted(()=>{ onMounted(()=>{
setTimeout(()=>{ setTimeout(()=>{
if(attrs.types==2){// if(attrs.types==2){//
props.data.control.uploadedImgs = completionImageDetails(value.value) /* props.data.control.uploadedImgs = completionImageDetails(value.value)
if(props.data.control.useDefaultImg==false&&props.data.control.onSiteShot==""){ if(props.data.control.useDefaultImg==false&&props.data.control.onSiteShot==""){
toShow.value = true toShow.value = true
} } */
if(value.value=="/src/assets/image/404_images/imgNotFound.png"){
//alert(1)
}else{
props.data.control.uploadedImgs = completionImageDetails(value.value)
if(props.data.control.useDefaultImg==false&&props.data.control.onSiteShot==""){
toShow.value = true
}
}
}else if(attrs.types==1){// }else if(attrs.types==1){//
emits("update:modelValue", props.data.control.imgUrl); emits("update:modelValue", props.data.control.imgUrl);

Loading…
Cancel
Save