🐛 FIX: Support new bson logId

This commit is contained in:
fengmk2
2022-02-08 23:17:45 +08:00
parent 52475aab2b
commit ac07b215a7

View File

@@ -21,7 +21,7 @@
var resourceURL = '/sync/' + name;
<% } %>
$(function() {
var checkLogId = location.hash.match(/logid=(\d+)/);
var checkLogId = location.hash.match(/logid=(\w+)/);
var logid = checkLogId ? checkLogId[1] : '';
if (logid) {
return getSyncLog(logid);