From a61d079d0c7ebc50ddd088bfb568a21bb2f2592d Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期一, 27 十一月 2023 15:20:12 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/ghtzwcsOld' into ghtzwcsOld
---
src/main/webapp/views/realtimeWatch/console.html | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/main/webapp/views/realtimeWatch/console.html b/src/main/webapp/views/realtimeWatch/console.html
index b97dcba..ebca8ce 100644
--- a/src/main/webapp/views/realtimeWatch/console.html
+++ b/src/main/webapp/views/realtimeWatch/console.html
@@ -401,7 +401,8 @@
</script>
<script type="text/javascript">
// 寮圭獥绔欑偣淇℃伅
- $('.site').on('click', function () {
+ $("body").on('click', '.site', function (e) {
+ console.log(e)
var id = this.id.split("-")[1];
$("#siteWindow").attr("style", "display:block;");//鏄剧ずdiv
$("#crnWindow").attr("style", "display:none;");
@@ -431,7 +432,7 @@
});
// 鍫嗗灈鏈轰俊鎭�
- $('.machine').on('click', function () {
+ $("body").on('click', '.machine', function () {
var id = this.id.split("-")[1];
$("#crnWindow").attr('style', 'display:block;');
$("#siteWindow").attr("style", "display:none;");
@@ -459,7 +460,7 @@
})
- })
+ });
// 寮圭獥鍏抽棴
$('button').on('click', function () {
$('#siteWindow').attr('style', 'display:none')
--
Gitblit v1.9.1