|
|
@@ -433,14 +433,6 @@
|
|
|
}
|
|
|
},
|
|
|
mounted () {
|
|
|
-// 验证是否登录
|
|
|
- this.$nextTick(() => {
|
|
|
- this.isLogin()
|
|
|
- // 刷新统计信息
|
|
|
- setInterval(() => {
|
|
|
- this.isLogin()
|
|
|
- }, 10000)
|
|
|
- })
|
|
|
// 获取城市地址
|
|
|
this.$http.get('/data/city.json').then(response => {
|
|
|
this.allCityData = response.data
|
|
|
@@ -454,13 +446,6 @@
|
|
|
checkboxChecked () {
|
|
|
this.checked = !this.checked
|
|
|
},
|
|
|
- // 判断用户是否登录
|
|
|
- isLogin () {
|
|
|
- if (!this.logged.isLogin) {
|
|
|
-// 未登录跳到登录页面
|
|
|
- window.location.href = '/'
|
|
|
- }
|
|
|
- },
|
|
|
// 获取校验码
|
|
|
getCheckCode () {
|
|
|
this.isShowLoading = true
|