|
|
@@ -165,7 +165,7 @@ export default {
|
|
|
},
|
|
|
created () {
|
|
|
this.permission.cleanPermission()
|
|
|
- this.dev = window.location.href.toString().indexOf('dev') > -1
|
|
|
+ this.dev = window.location.href.toString().indexOf('dev') > -1 || window.location.href.toString().indexOf('localhost')
|
|
|
console.log(window.location.href.toString())
|
|
|
removeToken()
|
|
|
this.init()
|