mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-04-12 05:03:15 +08:00
refactor: 调整 OSS 配置表单布局
This commit is contained in:
@@ -193,7 +193,7 @@ export const drawerSchema: FormSchemaGetter = () => [
|
|||||||
},
|
},
|
||||||
defaultValue: '0',
|
defaultValue: '0',
|
||||||
fieldName: 'accessPolicy',
|
fieldName: 'accessPolicy',
|
||||||
formItemClass: 'col-span-3 lg:col-span-2',
|
formItemClass: 'col-span-6 lg:col-span-3',
|
||||||
label: '权限桶类型',
|
label: '权限桶类型',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -205,7 +205,7 @@ export const drawerSchema: FormSchemaGetter = () => [
|
|||||||
},
|
},
|
||||||
defaultValue: 'N',
|
defaultValue: 'N',
|
||||||
fieldName: 'isHttps',
|
fieldName: 'isHttps',
|
||||||
formItemClass: 'col-span-3 lg:col-span-1',
|
formItemClass: 'col-span-6 lg:col-span-3',
|
||||||
label: '是否https',
|
label: '是否https',
|
||||||
rules: 'required',
|
rules: 'required',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -26,12 +26,12 @@ const title = computed(() => {
|
|||||||
|
|
||||||
const [BasicForm, formApi] = useVbenForm({
|
const [BasicForm, formApi] = useVbenForm({
|
||||||
commonConfig: {
|
commonConfig: {
|
||||||
formItemClass: 'col-span-3',
|
formItemClass: 'col-span-6',
|
||||||
labelWidth: 100,
|
labelWidth: 100,
|
||||||
},
|
},
|
||||||
schema: drawerSchema(),
|
schema: drawerSchema(),
|
||||||
showDefaultActions: false,
|
showDefaultActions: false,
|
||||||
wrapperClass: 'grid-cols-3',
|
wrapperClass: 'grid-cols-6',
|
||||||
});
|
});
|
||||||
|
|
||||||
const { onBeforeClose, markInitialized, resetInitialized } = useBeforeCloseDiff(
|
const { onBeforeClose, markInitialized, resetInitialized } = useBeforeCloseDiff(
|
||||||
|
|||||||
Reference in New Issue
Block a user