chore: prune org selectors from lightweight admin
This commit is contained in:
@@ -95,16 +95,6 @@ const ElUpload = defineAsyncComponent(() =>
|
||||
import('element-plus/es/components/upload/index').then((res) => res.ElUpload),
|
||||
);
|
||||
|
||||
const DeptSelector = defineAsyncComponent(() =>
|
||||
import('#/components/zq-form/dept-selector/dept-selector.vue').then(
|
||||
(res) => res.default,
|
||||
),
|
||||
);
|
||||
const PostSelector = defineAsyncComponent(() =>
|
||||
import('#/components/zq-form/post-selector/post-selector.vue').then(
|
||||
(res) => res.default,
|
||||
),
|
||||
);
|
||||
const RoleSelector = defineAsyncComponent(() =>
|
||||
import('#/components/zq-form/role-selector/role-selector.vue').then(
|
||||
(res) => res.default,
|
||||
@@ -176,14 +166,12 @@ export type ComponentType =
|
||||
| 'CheckboxGroup'
|
||||
| 'CodeEditor'
|
||||
| 'DatePicker'
|
||||
| 'DeptSelector'
|
||||
| 'Divider'
|
||||
| 'FileSelector'
|
||||
| 'IconPicker'
|
||||
| 'ImageSelector'
|
||||
| 'Input'
|
||||
| 'InputNumber'
|
||||
| 'PostSelector'
|
||||
| 'RadioGroup'
|
||||
| 'RoleSelector'
|
||||
| 'Select'
|
||||
@@ -261,8 +249,6 @@ function initComponentAdapter() {
|
||||
PrimaryButton: (props, { attrs, slots }) => {
|
||||
return h(ElButton, { ...props, attrs, type: 'primary' }, slots);
|
||||
},
|
||||
DeptSelector: withDefaultPlaceholder(DeptSelector, 'select'),
|
||||
PostSelector: withDefaultPlaceholder(PostSelector, 'select'),
|
||||
RoleSelector: withDefaultPlaceholder(RoleSelector, 'select'),
|
||||
Divider: ElDivider,
|
||||
FileSelector: withDefaultPlaceholder(FileSelector, 'select'),
|
||||
|
||||
Reference in New Issue
Block a user