feat: reload on failure

This commit is contained in:
arielherself 2023-11-27 13:31:57 +08:00
parent 8b4d5b7595
commit 5eeb2aea42
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="3c7078e7-6f30-4d92-9696-11496f9e6dff" name="Changes" comment=""> <list default="true" id="3c7078e7-6f30-4d92-9696-11496f9e6dff" name="Changes" comment="">
<change beforePath="$PROJECT_DIR$/api/handshake.js" beforeDir="false" afterPath="$PROJECT_DIR$/api/handshake.js" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/UMap.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/UMap.js" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -80,7 +80,7 @@
<workItem from="1700822693197" duration="9493000" /> <workItem from="1700822693197" duration="9493000" />
<workItem from="1701004587189" duration="3578000" /> <workItem from="1701004587189" duration="3578000" />
<workItem from="1701042611758" duration="10222000" /> <workItem from="1701042611758" duration="10222000" />
<workItem from="1701056208994" duration="5048000" /> <workItem from="1701056208994" duration="5687000" />
</task> </task>
<servers /> <servers />
</component> </component>

View File

@ -115,7 +115,7 @@ function MapClickHandler({mks,focusUpdater,locator,locker}) {
locker(true); locker(true);
}).catch((e) => { }).catch((e) => {
console.error(e); console.error(e);
// location.reload(); location.reload();
}); });
}, },
// TODO // TODO