This commit is contained in:
chenyang
2022-06-29 12:28:49 +08:00
parent eb6436dbeb
commit d8fbbb0fa3
7 changed files with 33 additions and 25 deletions
+7 -1
View File
@@ -13,10 +13,16 @@
<!--script start-->
<script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="/static/bootstrap-4.6.1-dist/js/bootstrap.bundle.js"></script> <!-- bootstrap.bundle.min.js,还包含了 Popper,用于支持工具提示(tooltip)和弹出框(popover)功能,但是不包含 jQuery。-->
<script src="https://cdn.jsdelivr.net/npm/feather-icons@4.28.0/dist/feather.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons@4.28.0/dist/feather.min.js"></script> <!-- 图标相关-->
<script>
const qr_websocket = {
websocket: null,
uuid: (new Date().getTime().toString(16) + Math.random().toString(16).substr(2)).substr(2, 16)
}
$(function () {
$('#exampleModal').on('show.bs.modal', function (event) {
console.log(qr_websocket)
console.log('打开');
});