fix 友情链接

This commit is contained in:
赵霄
2024-06-26 15:50:23 +08:00
parent 9d4112a049
commit 3cc61d6bd4
2 changed files with 3 additions and 7 deletions
@@ -140,8 +140,7 @@ export default {
title: this.$t('operation'), title: this.$t('operation'),
scopedSlots: { customRender: 'action' }, scopedSlots: { customRender: 'action' },
align: 'center', align: 'center',
fixed: 'right', width: 100
width: 170
} }
], ],
url: { url: {
@@ -26,10 +26,7 @@
:placeholder="$t('pleaseEnter')+$t('system.friendshipLink.link')" :placeholder="$t('pleaseEnter')+$t('system.friendshipLink.link')"
></a-input> ></a-input>
</a-form-item> </a-form-item>
<a-form-item :required="true" <a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" :label="$t('system.friendshipLink.logo')">
:labelCol="labelCol"
:wrapperCol="wrapperCol"
:label="$t('system.friendshipLink.logo')">
<j-image-upload class="avatar-uploader" <j-image-upload class="avatar-uploader"
:text="$t('upload')" :text="$t('upload')"
v-decorator.trim="['logoUrl', validatorRules.logoUrl]" v-decorator.trim="['logoUrl', validatorRules.logoUrl]"
@@ -101,7 +98,7 @@ export default {
logoUrl: { logoUrl: {
rules: [ rules: [
{ {
required: true, required: false,
message: this.$t('pleaseSelect') + this.$t('system.friendshipLink.logo') message: this.$t('pleaseSelect') + this.$t('system.friendshipLink.logo')
} }
], ],