diff --git a/src/layout/adder/CustomAdder.tsx b/src/layout/adder/CustomAdder.tsx index b5b46eb..fc73c34 100644 --- a/src/layout/adder/CustomAdder.tsx +++ b/src/layout/adder/CustomAdder.tsx @@ -1,18 +1,15 @@ import { computed, defineComponent, inject, onMounted, reactive, ref, watch } from 'vue' import useLayoutStore from '../useLayoutStore' -import { Button, Form, Input, InputGroup } from 'ant-design-vue' +import { Form, Input } from 'ant-design-vue' import { OhVueIcon, addIcons } from 'oh-vue-icons' import { MdUpload, MdImage, MdCheck } from 'oh-vue-icons/icons' import useLink from '../../utils/useLink' -import { CheckOutlined } from '@ant-design/icons-vue' import { v4 as uuid } from 'uuid' import type { Block } from '../layout.types' -import { ColorPicker } from 'vue3-colorpicker' import 'vue3-colorpicker/style.css' import { globalToast } from '@/main' import UploadAndCut from '@/utils/UploadAndCut' import { AddToToken } from './AdderPage' -import DefaultImg from '/tab/icons/bgGameCloud.png' import useAdderPageStore, { type EditBlockItemType } from './useAdderPageStore' import useRouterStore from '@/useRouterStore' import NativeColorPicker from '@/utils/NativeColorPicker' @@ -64,7 +61,7 @@ const TypeSelector = defineComponent({ ctx.emit('update:value', 0) }} > - {!props.icon && } + {!props.icon && } {props.value === 0 && (
{ )}