fix: system import

pull/130/head^2
xingyu4j 2025-06-05 19:18:53 +08:00
parent af4f7f9630
commit fc6ebb8ed9
1 changed files with 2 additions and 5 deletions

View File

@ -16,11 +16,8 @@ const emit = defineEmits(['success']);
const [Form, formApi] = useVbenForm({ const [Form, formApi] = useVbenForm({
commonConfig: { commonConfig: {
componentProps: {
class: 'w-full',
},
formItemClass: 'col-span-2', formItemClass: 'col-span-2',
labelWidth: 80, labelWidth: 120,
}, },
layout: 'horizontal', layout: 'horizontal',
schema: useImportFormSchema(), schema: useImportFormSchema(),
@ -62,7 +59,7 @@ async function handleDownload() {
</script> </script>
<template> <template>
<Modal title="导入用户"> <Modal title="导入用户" class="w-[30%]">
<Form class="mx-4"> <Form class="mx-4">
<template #file> <template #file>
<div class="w-full"> <div class="w-full">