chore: form modal/drawer should not closeable on click mask
This commit is contained in:
@@ -120,7 +120,7 @@ async function handleCancel() {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<BasicDrawer :title="title" class="w-[600px]">
|
||||
<BasicDrawer :close-on-click-modal="false" :title="title" class="w-[600px]">
|
||||
<BasicForm>
|
||||
<template #clientSecret="slotProps">
|
||||
<SecretInput v-bind="slotProps" :disabled="isUpdate" />
|
||||
|
@@ -55,7 +55,7 @@ export const drawerSchema: FormSchemaGetter = () => [
|
||||
},
|
||||
fieldName: 'grantTypeList',
|
||||
label: '授权类型',
|
||||
rules: 'required',
|
||||
rules: 'selectRequired',
|
||||
},
|
||||
{
|
||||
component: 'Select',
|
||||
@@ -68,7 +68,7 @@ export const drawerSchema: FormSchemaGetter = () => [
|
||||
},
|
||||
fieldName: 'deviceType',
|
||||
label: '设备类型',
|
||||
rules: 'required',
|
||||
rules: 'selectRequired',
|
||||
},
|
||||
{
|
||||
component: 'InputNumber',
|
||||
|
Reference in New Issue
Block a user