Drop unused json editor form adapter
This commit is contained in:
@@ -125,9 +125,6 @@ const UserSelector = defineAsyncComponent(() =>
|
||||
(res) => res.default,
|
||||
),
|
||||
);
|
||||
const JsonEditor = defineAsyncComponent(() =>
|
||||
import('#/components/json-editor/json-editor.vue').then((res) => res.default),
|
||||
);
|
||||
const ZqIconPicker = defineAsyncComponent(() =>
|
||||
import('#/components/zq-form/zq-icon-picker/zq-icon-picker.vue').then(
|
||||
(res) => res.default,
|
||||
@@ -191,7 +188,6 @@ export type ComponentType =
|
||||
| 'ImageSelector'
|
||||
| 'Input'
|
||||
| 'InputNumber'
|
||||
| 'JsonEditor'
|
||||
| 'PostSelector'
|
||||
| 'RadioGroup'
|
||||
| 'RoleSelector'
|
||||
@@ -279,7 +275,6 @@ function initComponentAdapter() {
|
||||
ImageSelector: withDefaultPlaceholder(ImageSelector, 'select'),
|
||||
Input: withDefaultPlaceholder(ElInput, 'input'),
|
||||
Textarea: withDefaultPlaceholder(ElInput, 'input', { type: 'textarea' }),
|
||||
JsonEditor,
|
||||
CodeEditor,
|
||||
InputNumber: withDefaultPlaceholder(ElInputNumber, 'input'),
|
||||
RadioGroup: (props, { attrs, slots }) => {
|
||||
|
||||
Reference in New Issue
Block a user