Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Wesley-0808 authored Mar 3, 2025
1 parent 77f87e0 commit 706198c
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions src/dialog/dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -388,20 +388,7 @@ export default mixins(
},
renderDialog() {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const {
body,
header,
footer,
confirmBtn,
cancelBtn,
confirmLoading,
dialogClassName,
theme,
onConfirm,
onCancel,
onCloseBtnClick,
...otherProps
} = this.$props;
const { body, header, footer, confirmBtn, cancelBtn, confirmLoading, dialogClassName, theme, onConfirm, onCancel, onCloseBtnClick, ...otherProps } = this.$props;

Check failure on line 391 in src/dialog/dialog.tsx

View workflow job for this annotation

GitHub Actions / call-test-build / test

Expected a line break after this opening brace

Check failure on line 391 in src/dialog/dialog.tsx

View workflow job for this annotation

GitHub Actions / call-test-build / test

Expected a line break before this closing brace
// 此处获取定位方式 top 优先级较高 存在时 默认使用top定位
return (
// 非模态形态下draggable为true才允许拖拽
Expand Down

0 comments on commit 706198c

Please sign in to comment.