From 368be88b5d3066a674c7ea8303880cc9414f4574 Mon Sep 17 00:00:00 2001 From: expdsn <18111002318@163.com> Date: Fri, 15 Nov 2024 19:16:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BE=A7=E8=BE=B9=E6=A0=8F=E5=B1=95=E5=BC=80?= =?UTF-8?q?=E5=B1=82=E4=B8=8D=E5=85=81=E8=AE=B8=E5=8F=B3=E9=94=AE=E6=89=93?= =?UTF-8?q?=E5=BC=80=E5=BF=AB=E6=8D=B7=E7=BC=96=E8=BE=91=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/adder/CustomAdder.tsx | 16 ++++++---------- src/layout/sider/index.tsx | 22 ++++++++++++++++------ src/widgets/gameVideo/Large.tsx | 14 +++++++++++--- 3 files changed, 33 insertions(+), 19 deletions(-) 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 && (
{ )}