Browse Source

更换管理员申诉去掉必须登录的条件

hangb 7 years ago
parent
commit
6754422116
1 changed files with 0 additions and 15 deletions
  1. 0 15
      components/appeal/ChangeManagerAppeal.vue

+ 0 - 15
components/appeal/ChangeManagerAppeal.vue

@@ -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