Skip to content

Commit

Permalink
fix: 修改文档跳转路径
Browse files Browse the repository at this point in the history
  • Loading branch information
qinhua committed Apr 30, 2022
1 parent 90bfc64 commit f8b1ebd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@
instance.on('select2:select', function (e) {
var data = e.params.data;
sessionStorage.setItem('joe2.0-docs-version', data.id)
location.href = '/'
});;
location.href = location.origin + location.pathname
});
});
</script>
</body>
Expand Down

0 comments on commit f8b1ebd

Please sign in to comment.