From 9014f8d9ea0ef809890bfde8535161861e2ce061 Mon Sep 17 00:00:00 2001 From: wangruidong <940853815@qq.com> Date: Thu, 17 Oct 2024 10:28:31 +0800 Subject: [PATCH] perf: users use Select2 --- src/components/Form/AutoDataForm/utils.js | 4 ---- src/views/users/Group/UserGroupCreateUpdate.vue | 5 +---- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/components/Form/AutoDataForm/utils.js b/src/components/Form/AutoDataForm/utils.js index 346e32eee..beeb1a59b 100644 --- a/src/components/Form/AutoDataForm/utils.js +++ b/src/components/Form/AutoDataForm/utils.js @@ -7,7 +7,6 @@ import BasicTree from '@/components/Form/FormFields/BasicTree.vue' import JsonEditor from '@/components/Form/FormFields/JsonEditor.vue' import { assignIfNot } from '@/utils/common' import TagInput from '@/components/Form/FormFields/TagInput.vue' -import TransferSelect from '@/components/Form/FormFields/TransferSelect.vue' export class FormFieldGenerator { constructor(emit) { @@ -134,9 +133,6 @@ export class FormFieldGenerator { case 'comment': field.el.type = 'textarea' break - case 'users': - field.component = TransferSelect - field.el.label = field.label } return field } diff --git a/src/views/users/Group/UserGroupCreateUpdate.vue b/src/views/users/Group/UserGroupCreateUpdate.vue index 4cf0fcc26..6fb2f523a 100644 --- a/src/views/users/Group/UserGroupCreateUpdate.vue +++ b/src/views/users/Group/UserGroupCreateUpdate.vue @@ -4,7 +4,6 @@