From d81bc1ad4a3dcc06fe15ac0333fd24b311cb2d9c Mon Sep 17 00:00:00 2001 From: Pan Date: Wed, 27 Feb 2019 14:13:20 +0800 Subject: [PATCH] perf: change token key --- src/utils/auth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/auth.js b/src/utils/auth.js index 08a43d6..059af18 100644 --- a/src/utils/auth.js +++ b/src/utils/auth.js @@ -1,6 +1,6 @@ import Cookies from 'js-cookie' -const TokenKey = 'Admin-Token' +const TokenKey = 'vue_admin_template_token' export function getToken() { return Cookies.get(TokenKey)