Thanks to visit codestin.com
Credit goes to github.com

Skip to content

DialogService.ShowDialogAsync 弹出一个窗口关闭后无法紧接着弹出第二个 #73

Description

@WileyChia

感觉没办法很好的描述,直接上代码:

            try
            {
                await DialogService.ShowDialogAsync<MessageBoxComponent, int>("添加员工向导", new Dictionary<string, object>() { { "Message", "新创建的员工密码为默认密码:123456,系统会在用户首次登录时提醒员工修改密码。" }, { "OkTitle", "开始创建" } });
            }
            catch { goto cancel; }
            string name;
            try
            {
                name = (await DialogService.ShowDialogAsync<InputComponent, string>("添加员工 1/2 - 设置员工名", new Dictionary<string, object>() { { "Title", "员工名" } })).Result;
            }
            catch { goto cancel; }
            Shop shop;
            try
            {
                shop = (await DialogService.ShowDialogAsync<SearchShopComponent, Shop>("添加员工 2/2 - 选择所属分店", new Dictionary<string, object>())).Result;
            }
            catch { goto cancel; }
            NavigationManager.NavigateTo(NavigationManager.Uri, true);

已在chrome上测试,同样无法弹出。
两个相同类型的TComponent也无法弹出。
F12看到有新对话框相关元素但是显示位置错误,在页面最顶端并且不可见。

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingfeature requestNew feature or requestwait publish已修复,等待发布

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions