
Block
Depending on the parameter conditions, the contents of the block are determined to be displayed, usually in conjunction with permission authorization
Determines whether component content is displayed by setting the OnQueryCondition
callback method return value
Demo
By setting authorized
NotAuthorized
you can set what appears when you meet and do not meet the criteria, respectively
Demo
This example simulates a user logging in to control whether the content Block
is displayed, which is easier to use than AuthorizeView
Demo
AuthorizeView
component and are not currently logged inBy setting Users
controls the display, which is displayed when the currently logged-in user is a preset user
Demo
By setting Roles
controls the display, which is displayed when the currently logged-in user is in a preset role
Demo
Attributes
B station related video link
交流群