|
|
@@ -139,6 +139,7 @@ import { mapActions } from 'vuex'
|
|
|
import Utils from '@/utils/util'
|
|
|
import I18n from '@/utils/i18n'
|
|
|
import { encryptByAes } from '@/utils/encrypt'
|
|
|
+import store from '@/store'
|
|
|
const loginForm =
|
|
|
process.env.NODE_ENV === 'development'
|
|
|
? {
|
|
|
@@ -285,6 +286,10 @@ export default {
|
|
|
this.loginForm.captcha = ''
|
|
|
// 注销退出清空请求ID
|
|
|
this.loginForm.requestId = ''
|
|
|
+ if(store.getters?.setting?.timeout?.time){
|
|
|
+ // 注销退出清空密码
|
|
|
+ this.loginForm.password = ''
|
|
|
+ }
|
|
|
},
|
|
|
methods: {
|
|
|
...mapActions({
|