Skip to content

Commit fbc4654

Browse files
committed
fix #348
1 parent d46ca49 commit fbc4654

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/toolbar/ToolBar.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import Notifier from '../Notification.js';
66

77
class ToolBar extends Component {
88

9+
static modalSeq = 0;
10+
911
constructor(props) {
1012
super(props);
1113
this.timeouteClear = 0;
@@ -173,7 +175,7 @@ class ToolBar extends Component {
173175
}
174176

175177
render() {
176-
this.modalClassName = 'bs-table-modal-sm' + new Date().getTime();
178+
this.modalClassName = 'bs-table-modal-sm' + ToolBar.modalSeq++;
177179
let insertBtn = null;
178180
let deleteBtn = null;
179181
let exportCSV = null;

0 commit comments

Comments
 (0)