|
|
@@ -96,9 +96,12 @@
|
|
|
let params={
|
|
|
tenantId:this.form.tenantId,
|
|
|
username:this.form.username,
|
|
|
- password:md5Libs.md5(this.form.password)
|
|
|
+ password:md5Libs.md5(this.form.password),
|
|
|
+ grant_type:"password",
|
|
|
+ scope:"all",
|
|
|
+ type:"account"
|
|
|
}
|
|
|
- this.$api.system.login(params).then(res=>{
|
|
|
+ this.$api.system.login(this.$u.queryParams(params)).then(res=>{
|
|
|
if (this.$isNotEmpty(res.access_token)) {
|
|
|
this.cacheToken(res)
|
|
|
uni.redirectTo({
|