fix: 修复演示页相关问题

This commit is contained in:
xiaoxian521 2024-01-15 22:46:41 +08:00
parent dd78313622
commit 6db0d63733
2 changed files with 3 additions and 2 deletions

View File

@ -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() {

View File

@ -186,7 +186,7 @@ function addDanmu() {
</div>
</el-card>
</template>
<style lang="scss">
<style lang="scss" scoped>
.demo {
flex: 1;
height: 600px;