chore: form modal/drawer should not closeable on click mask
This commit is contained in:
parent
e8a2916470
commit
42ead07555
@ -120,7 +120,7 @@ async function handleCancel() {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<BasicDrawer :title="title" class="w-[600px]">
|
<BasicDrawer :close-on-click-modal="false" :title="title" class="w-[600px]">
|
||||||
<BasicForm>
|
<BasicForm>
|
||||||
<template #clientSecret="slotProps">
|
<template #clientSecret="slotProps">
|
||||||
<SecretInput v-bind="slotProps" :disabled="isUpdate" />
|
<SecretInput v-bind="slotProps" :disabled="isUpdate" />
|
||||||
|
@ -55,7 +55,7 @@ export const drawerSchema: FormSchemaGetter = () => [
|
|||||||
},
|
},
|
||||||
fieldName: 'grantTypeList',
|
fieldName: 'grantTypeList',
|
||||||
label: '授权类型',
|
label: '授权类型',
|
||||||
rules: 'required',
|
rules: 'selectRequired',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
component: 'Select',
|
component: 'Select',
|
||||||
@ -68,7 +68,7 @@ export const drawerSchema: FormSchemaGetter = () => [
|
|||||||
},
|
},
|
||||||
fieldName: 'deviceType',
|
fieldName: 'deviceType',
|
||||||
label: '设备类型',
|
label: '设备类型',
|
||||||
rules: 'required',
|
rules: 'selectRequired',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
component: 'InputNumber',
|
component: 'InputNumber',
|
||||||
|
@ -75,7 +75,7 @@ async function handleCancel() {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<BasicModal :title="title" class="w-[550px]">
|
<BasicModal :close-on-click-modal="false" :title="title" class="w-[550px]">
|
||||||
<BasicForm />
|
<BasicForm />
|
||||||
</BasicModal>
|
</BasicModal>
|
||||||
</template>
|
</template>
|
||||||
|
@ -79,7 +79,7 @@ async function handleCancel() {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<BasicDrawer :title="title" class="w-[650px]">
|
<BasicDrawer :close-on-click-modal="false" :title="title" class="w-[650px]">
|
||||||
<BasicForm />
|
<BasicForm />
|
||||||
</BasicDrawer>
|
</BasicDrawer>
|
||||||
</template>
|
</template>
|
||||||
|
@ -23,7 +23,7 @@ export const drawerSchema: FormSchemaGetter = () => [
|
|||||||
},
|
},
|
||||||
fieldName: 'deptId',
|
fieldName: 'deptId',
|
||||||
label: '所属部门',
|
label: '所属部门',
|
||||||
rules: 'required',
|
rules: 'selectRequired',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
component: 'Input',
|
component: 'Input',
|
||||||
|
@ -109,7 +109,7 @@ async function handleCancel() {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<BasicDrawer :title="title" class="w-[600px]">
|
<BasicDrawer :close-on-click-modal="false" :title="title" class="w-[600px]">
|
||||||
<BasicForm />
|
<BasicForm />
|
||||||
</BasicDrawer>
|
</BasicDrawer>
|
||||||
</template>
|
</template>
|
||||||
|
@ -117,7 +117,7 @@ export const drawerSchema: FormSchemaGetter = () => [
|
|||||||
},
|
},
|
||||||
fieldName: 'packageId',
|
fieldName: 'packageId',
|
||||||
label: '租户套餐',
|
label: '租户套餐',
|
||||||
rules: 'required',
|
rules: 'selectRequired',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
component: 'DatePicker',
|
component: 'DatePicker',
|
||||||
|
@ -97,7 +97,7 @@ async function handleCancel() {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<BasicDrawer :title="title" class="w-[600px]">
|
<BasicDrawer :close-on-click-modal="false" :title="title" class="w-[600px]">
|
||||||
<BasicForm />
|
<BasicForm />
|
||||||
</BasicDrawer>
|
</BasicDrawer>
|
||||||
</template>
|
</template>
|
||||||
|
@ -44,7 +44,7 @@ export const drawerSchema: FormSchemaGetter = () => [
|
|||||||
componentProps: { class: 'w-full', placeholder: '请选择' },
|
componentProps: { class: 'w-full', placeholder: '请选择' },
|
||||||
fieldName: 'deptId',
|
fieldName: 'deptId',
|
||||||
label: '所属部门',
|
label: '所属部门',
|
||||||
rules: 'required',
|
rules: 'selectRequired',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
component: 'Input',
|
component: 'Input',
|
||||||
|
Loading…
Reference in New Issue
Block a user