mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-06 00:18:51 +08:00
fix: 修复演示页相关问题
This commit is contained in:
parent
dd78313622
commit
6db0d63733
@ -1,9 +1,9 @@
|
|||||||
import "./circled.css";
|
import "./circled.css";
|
||||||
import Cropper from "cropperjs";
|
import Cropper from "cropperjs";
|
||||||
import { useTippy } from "vue-tippy";
|
|
||||||
import { ElUpload } from "element-plus";
|
import { ElUpload } from "element-plus";
|
||||||
import type { CSSProperties } from "vue";
|
import type { CSSProperties } from "vue";
|
||||||
import { longpress } from "@/directives/longpress";
|
import { longpress } from "@/directives/longpress";
|
||||||
|
import { useTippy, directive as tippy } from "vue-tippy";
|
||||||
import {
|
import {
|
||||||
ref,
|
ref,
|
||||||
unref,
|
unref,
|
||||||
@ -236,6 +236,7 @@ export default defineComponent({
|
|||||||
|
|
||||||
const menuContent = defineComponent({
|
const menuContent = defineComponent({
|
||||||
directives: {
|
directives: {
|
||||||
|
tippy,
|
||||||
longpress
|
longpress
|
||||||
},
|
},
|
||||||
setup() {
|
setup() {
|
||||||
|
@ -186,7 +186,7 @@ function addDanmu() {
|
|||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
</template>
|
</template>
|
||||||
<style lang="scss">
|
<style lang="scss" scoped>
|
||||||
.demo {
|
.demo {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
height: 600px;
|
height: 600px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user