From 2bd99eed8d0362227f8a94e37d53e74866e17b34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?JadeYang=28=E6=9D=A8=E7=90=BC=E7=92=9E=29?= Date: Tue, 7 Jun 2022 23:25:56 +0800 Subject: [PATCH] :bug: fix vditor content & console.log --- src/pages/Main.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/pages/Main.vue b/src/pages/Main.vue index 89e33f4..289c017 100644 --- a/src/pages/Main.vue +++ b/src/pages/Main.vue @@ -24,7 +24,12 @@ export default { }, created() { + console.log( + '%c 倾城之链:倾心缔造,痴心为你。 https://nicelinks.site/', + 'font-size:2.113em;color: #2edfa3' + ) this.setDefaultText() + console.log = () => {} }, components: { @@ -119,6 +124,10 @@ export default { height: calc(100vh - 100px); margin: 20px auto; text-align: left; + .vditor-content { + height: auto; + min-height: auto; + } } .vditor-reset { font-size: 14px; @@ -133,7 +142,7 @@ export default { .index-page { .vditor { height: calc(100vh - 60px); - padding: auto 10px; + padding: 10px; margin: 0px auto; } }