Skip to content

报告一个BUG:多页签模式下不设置TabItemOption引起的问题 #6115

Answered by ArgoZhang
gudufy asked this question in Q&A
Discussion options

You must be logged in to vote

@gudufy 还有一种方式 TabItemBindOptions 你搜一下源码,这是一个字典服务

services.ConfigureTabItemMenuBindOptions(options =>
{
    options.Binders.Add("layout-demo/text=Parameter1", new() { Text = "示例网页" });
    options.Binders.Add("layout-demo", new() { Text = "Text 1" });
    options.Binders.Add("layout-demo?text=Parameter", new() { Text = "Text 2" });
    options.Binders.Add("layout-demo/text=Parameter", new() { Text = "Text 3" });
});

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ArgoZhang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants