From 44b7f67a2029aafd43d9eb4de7b28561f0f53bcd Mon Sep 17 00:00:00 2001 From: xiaoxie <hotcoffie@163.com> Date: 星期六, 23 四月 2022 23:54:49 +0800 Subject: [PATCH] 在1e2d207aea24b5956d5ece95ed4a9db0f59f34d7这个版本中,作者删除了initData函数,但是忘记删除mounted中的this.mounted() 导致console报错 --- web_src/src/App.vue | 22 ++++++++++++++++++++-- 1 files changed, 20 insertions(+), 2 deletions(-) diff --git a/web_src/src/App.vue b/web_src/src/App.vue index 5828acd..3590f73 100644 --- a/web_src/src/App.vue +++ b/web_src/src/App.vue @@ -21,7 +21,6 @@ created() { if(!this.$cookies.get("session")){ //濡傛灉娌℃湁鐧诲綍鐘舵�佸垯璺宠浆鍒扮櫥褰曢〉 - console.log("33333333") this.$router.push('/login'); } }, @@ -43,7 +42,6 @@ //cookie鎿嶄綔鏂规硶鍦ㄦ簮鐮侀噷鏈夋垨鑰呭弬鑰冪綉涓婄殑鍗冲彲 if(!this.$cookies.get("session")){ //濡傛灉娌℃湁鐧诲綍鐘舵�佸垯璺宠浆鍒扮櫥褰曢〉 - console.log("222222222") this.$router.push('/login'); } }, @@ -83,4 +81,24 @@ text-align: center; padding-top: 0px !important; } + +/*瀹氫箟婊氬姩鏉¢珮瀹藉強鑳屾櫙 楂樺鍒嗗埆瀵瑰簲妯珫婊氬姩鏉$殑灏哄*/ +::-webkit-scrollbar { + width: 8px; + height: 8px; +} + +/*瀹氫箟婊氬姩鏉¤建閬� 鍐呴槾褰�+鍦嗚*/ +::-webkit-scrollbar-track { + border-radius: 4px; + background-color: #F5F5F5; +} + +/*瀹氫箟婊戝潡 鍐呴槾褰�+鍦嗚*/ +::-webkit-scrollbar-thumb { + border-radius: 4px; + background-color: #c8c8c8; + box-shadow: inset 0 0 6px rgba(0, 0, 0, .1); + -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .1); +} </style> -- Gitblit v1.8.0