fix 友情链接
This commit is contained in:
@@ -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')
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user