webpack hot reload support

This commit is contained in:
undefined committed 2020-07-17 19:20:42 +08:00
1 parent d8e1a63f99
commit 0ee306d0cf
15 files changed
+89 -63

No files matched your search

+1
View File
@@ -64,6 +64,7 @@ export default class ScratchpadContainer extends React.PureComponent {
handleChangeSize(uiElement, size) {
this.props.changeUiSize(uiElement, size);
$('#scratchpad').trigger('vjScratchpadRelayout');
this.props.ui.pretest.visible = !!this.props.ui.pretest.visible;
this.forceUpdate();
}