|
|
@ -80,7 +80,7 @@ |
|
|
|
import { storeToRefs } from 'pinia'; |
|
|
|
import { NsMessage } from '/nerv-lib/component'; |
|
|
|
import { replyDynamRoutesPath } from '/nerv-lib/util/dynamicRoutesss'; |
|
|
|
import { Enobscure, Deobscure } from '/nerv-lib/util/crypto'; |
|
|
|
// import { Enobscure, Deobscure } from '/nerv-lib/util/crypto'; |
|
|
|
|
|
|
|
export default defineComponent({ |
|
|
|
name: 'UserLogin', |
|
|
@ -127,7 +127,8 @@ |
|
|
|
const submit = (value): void => { |
|
|
|
let data = JSON.stringify({ |
|
|
|
accountNo: userName.value.trim(), |
|
|
|
password: Enobscure(password.value.trim()), |
|
|
|
password: password.value.trim() |
|
|
|
// password: Enobscure(password.value.trim()),//登录密码加密处理,待前后端代码合并一致后再放开 |
|
|
|
}); |
|
|
|
validator(null, value?.code) |
|
|
|
.then(() => { |
|
|
|