Skip to content

Commit

Permalink
Merge pull request #4 from Liberty-liu/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Liberty-liu authored Apr 9, 2023
2 parents 4314a01 + 09721e2 commit 2c34d33
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "everright-formeditor",
"version": "1.0.1",
"version": "1.0.3",
"files": [
"dist",
"packages/formEditor/componentsConfig.js"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ const handleAction = async (type) => {
<canvas
ref="element"
></canvas>
<Icon v-if="showClear" @click="handleClear" :class="[ns.e('clear')]" icon="CLEAR"></Icon>
<Icon v-if="showClear" @click="handleClear" :class="[ns.e('clear')]" icon="delete"></Icon>
</div>
</van-popup>
</template>
Expand Down
2 changes: 1 addition & 1 deletion packages/formEditor/components/FormTypes/Signature/pc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ const handleCommit = async () => {
:fit="'contain'"
style="width: 100%; height: 100%;"
/>
<Icon @click="data.options.defaultValue = ''" :class="[ns.e('clear')]" icon="CLEAR"></Icon>
<Icon @click="data.options.defaultValue = ''" :class="[ns.e('clear')]" icon="delete"></Icon>
</template>
<div
v-else
Expand Down
2 changes: 1 addition & 1 deletion packages/formEditor/components/FormTypes/Uploadfile/pc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const handlePictureCardPreview = (uploadFile) => {
const beforeAvatarUpload = (rawFile) => {
if (rawFile.size > props.params.maxSize) {
ElMessage({
message: t('er.validateMsg.fileSize', { size: props.data.size }),
message: t('er.validateMsg.fileSize', { size: props.data.options.size }),
type: 'warning'
})
return false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ const handleSuccess = (response, uploadFile) => {
<li v-if="state.value0" :class="ns.e('uploadFile')">
<el-upload
accept=".png,.jpg"
action="http://192.168.31.181:8001/Everright-api/lowCode/uploads"
:action="ER.props.fileUploadURI"
list-type="picture-card"
ref="element"
:show-file-list="false"
Expand Down

0 comments on commit 2c34d33

Please sign in to comment.