|
@@ -57,6 +57,9 @@ export default {
|
|
|
Toast('请输入登录名');
|
|
|
return;
|
|
|
}
|
|
|
+ const regex = /[\u0000-\u0008\u000B-\u001F\u007F-\u009F\u200B-\u200F\u202A-\u202E\u2028\u2029\uFEFF]/g;
|
|
|
+ this.password = this.password.replaceAll(regex,'')
|
|
|
+ this.name = this.name.replaceAll(regex,'')
|
|
|
// this.$http.post(this.$store.state.host+"/appSysUser/solic_login",{USERNAME:this.name,PASSWORD:this.password},{emulateJSON:true})
|
|
|
const res = await solicLogin({ USERNAME: this.name, PASSWORD: this.password }, { emulateJSON: true, loading: true, message: '登录中...' })
|
|
|
console.log(res, 'res')
|