diff --git a/src/components/Category/CategoryCreateModal.vue b/src/components/Category/CategoryCreateModal.vue index 37fbe943..f06e34ee 100644 --- a/src/components/Category/CategoryCreateModal.vue +++ b/src/components/Category/CategoryCreateModal.vue @@ -2,10 +2,10 @@ @@ -76,7 +76,9 @@ export default { slug: [{ max: 255, message: '* 分类别名的字符长度不能超过 255', trigger: ['change'] }], thumbnail: [{ max: 1023, message: '* 封面图链接的字符长度不能超过 1023', trigger: ['change'] }], description: [{ max: 100, message: '* 分类描述的字符长度不能超过 100', trigger: ['change'] }] - } + }, + labelCol: { sm: { span: 4 }, xs: { span: 24 } }, + wrapperCol: { sm: { span: 20 }, xs: { span: 24 } } } } }, diff --git a/src/components/Post/PostSettingModal.vue b/src/components/Post/PostSettingModal.vue index 01c4483c..2d631680 100644 --- a/src/components/Post/PostSettingModal.vue +++ b/src/components/Post/PostSettingModal.vue @@ -15,7 +15,7 @@
- + @@ -54,7 +54,7 @@ - + @@ -101,7 +101,7 @@ - + - + @@ -45,7 +45,7 @@ - + @@ -86,7 +86,7 @@ - + @@ -106,7 +106,9 @@ export default { name: [{ required: true, message: '* 图片名称不能为空', trigger: ['change'] }] }, saving: false, - saveErrored: false + saveErrored: false, + labelCol: { sm: { span: 4 }, xs: { span: 24 } }, + wrapperCol: { sm: { span: 20 }, xs: { span: 24 } } }, attachmentSelectModal: { visible: false