From 8948d1a2520a558a10dd7b571290ca6a400a03ec Mon Sep 17 00:00:00 2001 From: hooray <304327508@qq.com> Date: Thu, 12 Nov 2020 05:21:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/util/index.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/util/index.js b/src/util/index.js index c8f2951b..7c460de2 100644 --- a/src/util/index.js +++ b/src/util/index.js @@ -35,9 +35,6 @@ export function deepClone(target) { function hasPermission(permission) { if (store.state.settings.openPermission) { - console.log(permission, store.state.user.permissions.some(v => { - return v === permission - })) return store.state.user.permissions.some(v => { return v === permission })