mirror of
https://github.com/didi/KnowStreaming.git
synced 2026-01-11 18:32:13 +08:00
迭代V2.5, 修复broker监控问题,增加JMX认证支持等...
This commit is contained in:
@@ -19,6 +19,9 @@ export class Users {
|
||||
@observable
|
||||
public staff: IStaff[] = [];
|
||||
|
||||
@observable
|
||||
public newPassWord: any = null;
|
||||
|
||||
@action.bound
|
||||
public setAccount(data: IUser) {
|
||||
setCookie([{ key: 'role', value: `${data.role}`, time: 1 }]);
|
||||
@@ -42,6 +45,11 @@ export class Users {
|
||||
this.loading = value;
|
||||
}
|
||||
|
||||
@action.bound
|
||||
public setNewPassWord(value: boolean) {
|
||||
this.newPassWord = value;
|
||||
}
|
||||
|
||||
public getAccount() {
|
||||
getAccount().then(this.setAccount);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user