chore: form modal/drawer should not closeable on click mask
This commit is contained in:
@@ -23,7 +23,7 @@ export const drawerSchema: FormSchemaGetter = () => [
|
||||
},
|
||||
fieldName: 'deptId',
|
||||
label: '所属部门',
|
||||
rules: 'required',
|
||||
rules: 'selectRequired',
|
||||
},
|
||||
{
|
||||
component: 'Input',
|
||||
|
@@ -109,7 +109,7 @@ async function handleCancel() {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<BasicDrawer :title="title" class="w-[600px]">
|
||||
<BasicDrawer :close-on-click-modal="false" :title="title" class="w-[600px]">
|
||||
<BasicForm />
|
||||
</BasicDrawer>
|
||||
</template>
|
||||
|
Reference in New Issue
Block a user