Skip to content
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

bug: drawer bugs #534

Closed
igauch opened this issue Dec 18, 2023 · 0 comments · Fixed by #535
Closed

bug: drawer bugs #534

igauch opened this issue Dec 18, 2023 · 0 comments · Fixed by #535

Comments

@igauch
Copy link
Contributor

igauch commented Dec 18, 2023

  1. 使用aui-drawer组件默认值不生效,导致没有关闭按钮。
    原因是因为传到service的aui-drawer组件的配置为undefined,在进行展开合并操作后默认值又被undefined覆盖了,问题代码:

    this.options = {
      ...(DEFAULT_OPTIONS as DrawerOptions<T, C>),
      ...options,
    };
    

    问题没有被发现的原因是:
    aui的demo没有问题,aui-drawer组件的input都是不存在的字段,而不是存在但值是undefined

  2. 支持 contentParams 以 $implicit 作为 template 的 context,同时继续支持指定key的方式

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant