07 2022 档案
摘要:拿到数据必须在response.text()之后,如果在{}里可以直接在第一个.then(data)拿到,如果没有在{}说明第一个then返回了值,在第二个then里的data拿 fetch('/admin/ArrivalMaster/WarehouseSelectList1').then((res
阅读全文
摘要:ie、chrome、360:页面加载时执行unload();刷新时先执行onbeforeload(),新页面即将替换旧页面时onunload(),最后unload();关闭时执行onbeforeload(),再执行onunload().firefox:刷新时只执行onunload();关闭时只执行o
阅读全文
摘要:动画 #status{ border:1px solid #ff9900; width:50px; height:100px; left:0; position: absolute; } <div id="status">123</div> let div = document.getElement
阅读全文