Browse Source

图片

qin_26
liwenxuan 3 months ago
parent
commit
a410483121
  1. 9
      src/components/DesignForm/public/expand/lowcodeImage.vue

9
src/components/DesignForm/public/expand/lowcodeImage.vue

@ -299,6 +299,13 @@ function selectFile(){
}
</script>
<template>
<img
v-if="(!hasELCard(ancestors))&&props.data.control.useDefaultImg&&props.type==5"
:src="value"
class="avatar"
:style="getFormItemInputStyle(configStyle, 2)"
/>
<img
v-if="props.data.control.useDefaultImg&&props.type==4"
@ -308,7 +315,7 @@ function selectFile(){
/>
<el-upload
v-if="props.type!=4"
v-if="props.type!=4&&props.type!=5"
v-bind="$props"
class="upload-demo"
:action="uploadUrl"

Loading…
Cancel
Save