ng-devui icon indicating copy to clipboard operation
ng-devui copied to clipboard

Modal cssClass属性不生效🐛 [Bug]:

Open s455016457 opened this issue 2 years ago • 0 comments

Version

[email protected]

Angular Version

@angular/core 16.2.0

Link to minimal reproduction

  config={
    id: 'dialog-service',
    width: '500px',
    maxHeight: '600px',
    cssClass:"devUiModal",
    title: '新增书籍',
    content: BookCreateComponent,
    backdropCloseable: true,
    onClose: () => console.log('on dialog closed'),
    data: {
      name: '',
      type: BookType.Undefined,
      price: 0,
    },
  };

const results = this.dialogService.open({
      ...this.config,
      showMaximizeBtn:true,
      dialogtype:dialogtype,
      showAnimate:showAnimation,
...
});

cssClass:"devUiModal", 并不生效

Step to reproduce

this.dialogService.open调用时传入的config 配置 cssClasscssClass属性并不生效,前端元素class没有配置的className

What is expected

No response

What is actually happening

No response

Any additional comments (optional)

No response

s455016457 avatar Dec 12 '23 01:12 s455016457