mirror of
https://gitee.com/dromara/MaxKey.git
synced 2026-05-15 04:52:09 +08:00
bug fix: TokenBased 令牌内容保存
This commit is contained in:
@@ -42,6 +42,12 @@ export class AppsTokenBasedDetails extends Apps {
|
|||||||
} else {
|
} else {
|
||||||
this.switch_status = false;
|
this.switch_status = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.select_userPropertys = [''];
|
||||||
|
let userPropertysArray: String[] = `${this.userPropertys},`.split(',');
|
||||||
|
for (let i = 0; i < userPropertysArray.length; i++) {
|
||||||
|
this.select_userPropertys.push(`${userPropertysArray[i]}`);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
override trans(): void {
|
override trans(): void {
|
||||||
@@ -50,5 +56,17 @@ export class AppsTokenBasedDetails extends Apps {
|
|||||||
} else {
|
} else {
|
||||||
this.status = 0;
|
this.status = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.userPropertys = '';
|
||||||
|
|
||||||
|
for (let i = 0; i < this.select_userPropertys.length; i++) {
|
||||||
|
if (this.select_userPropertys[i] != '') {
|
||||||
|
if (this.userPropertys === '') {
|
||||||
|
this.userPropertys = this.select_userPropertys[i];
|
||||||
|
} else {
|
||||||
|
this.userPropertys = `${this.userPropertys},${this.select_userPropertys[i]}`;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user