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

Loading…
Cancel
Save