Skip to content

Commit 2c34d33

Browse files
authored
Merge pull request #4 from Liberty-liu/dev
Dev
2 parents 4314a01 + 09721e2 commit 2c34d33

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "everright-formeditor",
3-
"version": "1.0.1",
3+
"version": "1.0.3",
44
"files": [
55
"dist",
66
"packages/formEditor/componentsConfig.js"

packages/formEditor/components/FormTypes/Signature/mobile.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ const handleAction = async (type) => {
151151
<canvas
152152
ref="element"
153153
></canvas>
154-
<Icon v-if="showClear" @click="handleClear" :class="[ns.e('clear')]" icon="CLEAR"></Icon>
154+
<Icon v-if="showClear" @click="handleClear" :class="[ns.e('clear')]" icon="delete"></Icon>
155155
</div>
156156
</van-popup>
157157
</template>

packages/formEditor/components/FormTypes/Signature/pc.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ const handleCommit = async () => {
105105
:fit="'contain'"
106106
style="width: 100%; height: 100%;"
107107
/>
108-
<Icon @click="data.options.defaultValue = ''" :class="[ns.e('clear')]" icon="CLEAR"></Icon>
108+
<Icon @click="data.options.defaultValue = ''" :class="[ns.e('clear')]" icon="delete"></Icon>
109109
</template>
110110
<div
111111
v-else

packages/formEditor/components/FormTypes/Uploadfile/pc.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const handlePictureCardPreview = (uploadFile) => {
5555
const beforeAvatarUpload = (rawFile) => {
5656
if (rawFile.size > props.params.maxSize) {
5757
ElMessage({
58-
message: t('er.validateMsg.fileSize', { size: props.data.size }),
58+
message: t('er.validateMsg.fileSize', { size: props.data.options.size }),
5959
type: 'warning'
6060
})
6161
return false

packages/formEditor/components/Panels/Config/components/BackgroundComponent.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ const handleSuccess = (response, uploadFile) => {
219219
<li v-if="state.value0" :class="ns.e('uploadFile')">
220220
<el-upload
221221
accept=".png,.jpg"
222-
action="http://192.168.31.181:8001/Everright-api/lowCode/uploads"
222+
:action="ER.props.fileUploadURI"
223223
list-type="picture-card"
224224
ref="element"
225225
:show-file-list="false"

0 commit comments

Comments
 (0)