From 1857eebdf7b1efbea9b5aa86c6007953b1dbbd75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BD=A9=E5=B8=85?= Date: Wed, 31 Aug 2022 21:57:09 +0800 Subject: [PATCH] :fire: remove useless code --- src/assets/scss/layout.scss | 8 ++++++++ src/components/Waline.vue | 30 ++++++++++++++++++++++++++++-- src/main.js | 9 ++++++--- src/mixins/metaMixin.js | 8 +------- src/mixins/pageMixin.js | 12 ++---------- 5 files changed, 45 insertions(+), 22 deletions(-) diff --git a/src/assets/scss/layout.scss b/src/assets/scss/layout.scss index b067c7e0..dbf91a8b 100644 --- a/src/assets/scss/layout.scss +++ b/src/assets/scss/layout.scss @@ -149,4 +149,12 @@ text-align: left; font-weight: 500; margin-top: 3rem; +} + +.text-ellipsis { + display: block; + overflow: hidden; + white-space: nowrap; + -o-text-overflow: ellipsis; + text-overflow: ellipsis; } \ No newline at end of file diff --git a/src/components/Waline.vue b/src/components/Waline.vue index 2af8e301..1857490b 100644 --- a/src/components/Waline.vue +++ b/src/components/Waline.vue @@ -29,7 +29,7 @@ export default { } -