From 6db0d63733daca16c4f1106f8162dcc7d273202c Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Mon, 15 Jan 2024 22:46:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=BC=94=E7=A4=BA?= =?UTF-8?q?=E9=A1=B5=E7=9B=B8=E5=85=B3=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ReCropper/src/index.tsx | 3 ++- src/views/components/danmaku/index.vue | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/ReCropper/src/index.tsx b/src/components/ReCropper/src/index.tsx index 5f03f7081..ad4cfbf5e 100644 --- a/src/components/ReCropper/src/index.tsx +++ b/src/components/ReCropper/src/index.tsx @@ -1,9 +1,9 @@ import "./circled.css"; import Cropper from "cropperjs"; -import { useTippy } from "vue-tippy"; import { ElUpload } from "element-plus"; import type { CSSProperties } from "vue"; import { longpress } from "@/directives/longpress"; +import { useTippy, directive as tippy } from "vue-tippy"; import { ref, unref, @@ -236,6 +236,7 @@ export default defineComponent({ const menuContent = defineComponent({ directives: { + tippy, longpress }, setup() { diff --git a/src/views/components/danmaku/index.vue b/src/views/components/danmaku/index.vue index b315ce159..5612c87ac 100644 --- a/src/views/components/danmaku/index.vue +++ b/src/views/components/danmaku/index.vue @@ -186,7 +186,7 @@ function addDanmu() { -