chenrui %!s(int64=3) %!d(string=hai) anos
pai
achega
9e8ff548d7
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  1. 0 4
      src/components/tools/UserMenu.vue

+ 0 - 4
src/components/tools/UserMenu.vue

@@ -116,16 +116,12 @@ export default {
     },
     // 切换角色
     changeRoles (sn) {
-      console.log('888')
       return this.SetOrgSn(sn).then(() => {
         // 重新登录
         const params = { username: '', password: '' }
         return this.Login(params).then(() => {
-          console.log(111)
           this.$router.push({ path: '/home' })
-          console.log(222)
           window.location.reload() //  刷新页面
-          console.log(333)
         }).catch(err => this.requestFailed(err))
       })
     },