From 8d5de491417b432b15786fdb8158d56909940057 Mon Sep 17 00:00:00 2001 From: mutoe Date: Fri, 30 Nov 2018 10:17:43 +0800 Subject: [PATCH] =?UTF-8?q?refactor(SPA):=20=E7=A7=AF=E5=88=86=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E5=8F=98=E5=8A=A8=E9=80=82=E5=BA=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit issue #420 (cherry picked from commit a9270f210c691eda78b827631bc53c6d1f76a9de) --- resources/spa/src/page/PostMenu.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/spa/src/page/PostMenu.vue b/resources/spa/src/page/PostMenu.vue index 6f781aabb..a8a379535 100644 --- a/resources/spa/src/page/PostMenu.vue +++ b/resources/spa/src/page/PostMenu.vue @@ -48,7 +48,7 @@ 投稿
state.CONFIG.checkin || { switch: false }, verified: state => state.USER_VERIFY, newsVerified: state => state.CONFIG['news:contribute'].verified, }), @@ -113,11 +114,10 @@ export default { }, /** * 检查后台是否开启签到功能 - * @author jsonleex * @return {Boolean} */ - checkin () { - return this.$store.state.CONFIG.checkin || true + checkinEnable () { + return this.checkin.switch }, }, created () {