From b5d61b944f4822e59bcaf3f825fac1b6683f29e9 Mon Sep 17 00:00:00 2001
From: vincent <1341870251@qq.com>
Date: 星期二, 02 六月 2020 09:23:17 +0800
Subject: [PATCH] #
---
src/main/webapp/views/pipeline.html | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/main/webapp/views/pipeline.html b/src/main/webapp/views/pipeline.html
index cac6746..03b337a 100644
--- a/src/main/webapp/views/pipeline.html
+++ b/src/main/webapp/views/pipeline.html
@@ -426,6 +426,10 @@
<script>
// 鍒濆鍖�
var outputDom = document.getElementById("output");
+ // 瀹炴椂璁块棶
+ setInterval(function () {
+ getPlcError();
+ }, 500);
// 绌虹櫧琛ㄦ牸娓叉煋
$(document).ready(function() {
@@ -454,11 +458,9 @@
method: 'POST',
success: function (res) {
if (res.code === 200){
- console.log(res.data);
var tpl = $("#plcErrorTable").html();
var template = Handlebars.compile(tpl);
var html = template(res);
- console.log(html);
$('#plc-error-table').append(html);
} else if (res.code === 403){
top.location.href = baseUrl+"/login";
--
Gitblit v1.9.1