<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script>
$(document).bind('mobileinit', function () {
$.mobile.pushStateEnabled = false;
});
</script>
<script src="https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
<link rel="stylesheet" href="https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css">
引入js后就出现 DOMException: Failed to execute 'replaceState' on 'History': A history state object with URL 'file:///' cannot be created in a document with origin 'null' and URL 'file:///D:/java/rizhixiangmu1/src/sill/views/rz/contract/rz_contract_add.html#/'. 的问题,网上找了很多办法也是没有解决