gjy 3 лет назад
Родитель
Сommit
8ff8b4e43e
1 измененных файлов с 3 добавлено и 8 удалено
  1. 3 8
      src/layout/index/top/index.vue

+ 3 - 8
src/layout/index/top/index.vue

@@ -764,11 +764,7 @@
               .then(async() => {
                 EventBus.$emit('success', this.$t('message.updateMessage'))
                 this.passwordFlag = false
-                // this.$confirm(this.$t('logoutTip1'), this.$t('tip'), {
-                //   confirmButtonText: this.$t('submitText'),
-                //   cancelButtonText: this.$t('cancelText'),
-                //   type: 'warning',
-                // }).then( () => {
+
                   localStorage.removeItem('ws-pf_roleName')
                   localStorage.removeItem('ws-pf_roleId')
                   localStorage.removeItem('ws-pf_staffName')
@@ -781,8 +777,7 @@
                   await this.$store.dispatch('user/logout')
                   this.$router.push(
                     process.env.VUE_APP_PACKAGE_ENV === 'ship' ? '/ship_login' : '/login'
-                  )
-                // })
+                  ) 
               })
           } else {
             EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
@@ -926,7 +921,7 @@
   }
 
   .input-Style {
-    opacity: 1;
+    opacity: 0;
     margin-right: 20px;
     // visibility: hidden;
   }