【fix ESLint】src/components/layouts
This commit is contained in:
@@ -39,7 +39,6 @@ export default {
|
|||||||
if (url !== null && url !== undefined) {
|
if (url !== null && url !== undefined) {
|
||||||
// -----------------------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------------------
|
||||||
// url支持通过 ${token}方式传递当前登录TOKEN
|
// url支持通过 ${token}方式传递当前登录TOKEN
|
||||||
// eslint-disable-next-line no-template-curly-in-string
|
|
||||||
const tokenStr = '${token}'
|
const tokenStr = '${token}'
|
||||||
if (url.indexOf(tokenStr) !== -1) {
|
if (url.indexOf(tokenStr) !== -1) {
|
||||||
const token = Vue.ls.get(ACCESS_TOKEN)
|
const token = Vue.ls.get(ACCESS_TOKEN)
|
||||||
|
|||||||
Reference in New Issue
Block a user