-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add responsibility users for app #437
Conversation
foreach (var adminAvatar in Users) | ||
{ | ||
<MAvatar Size="40"> | ||
<MImage Width="40" Height="40" Src="@adminAvatar.Avatar" title="@adminAvatar.DisplayName"></MImage> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<MImage Width="40" Height="40" Src="@adminAvatar.Avatar" title="@adminAvatar.DisplayName"></MImage> | |
<MImage Width="40" Height="40" Src="@adminAvatar.Avatar" alt="@adminAvatar.DisplayName"></MImage> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个生成的div,alt无效,title会显示
protected override void OnInitialized() | ||
{ | ||
base.OnInitialized(); | ||
_users = new(); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
初始化 _users 的时候就 new() 就行了吧?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个是继承的,默认是null, 只有页面可以执行初始化和后续的操作
No description provided.