Browse Source

use const

pull/11890/merge
afc163 6 years ago
committed by 偏右
parent
commit
0f472505db
  1. 2
      components/modal/confirm.tsx

2
components/modal/confirm.tsx

@ -77,7 +77,7 @@ const ConfirmDialog = (props: ConfirmDialogProps) => {
};
export default function confirm(config: ModalFuncProps) {
let div = document.createElement('div');
const div = document.createElement('div');
document.body.appendChild(div);
let currentConfig = { ...config, close, visible: true } as any;

Loading…
Cancel
Save