From 8dddc657bca9b68b7ac5b25275303e96b583a713 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期三, 22 十二月 2021 16:48:06 +0800
Subject: [PATCH] #
---
static/js/data/Asrs.js | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/static/js/data/Asrs.js b/static/js/data/Asrs.js
index b21a828..6a46fed 100644
--- a/static/js/data/Asrs.js
+++ b/static/js/data/Asrs.js
@@ -1,4 +1,6 @@
+initStore();
+
setInterval(function () {
queryCrnCurrent();
},1000);
@@ -7,8 +9,8 @@
var CrnDatas = null;
function queryCrnCurrent() {
$.ajax({
- // url: 'http://47.97.1.152:58080/jkwcs/three/query/crn/cache/v1',
- url: 'http://localhost:9090/jkwcs/three/query/crn/cache/v1',
+ url: 'http://47.97.1.152:58080/jkwcs/three/query/crn/cache/v1',
+ // url: 'http://localhost:9090/jkwcs/three/query/crn/cache/v1',
type: "GET",
data: {},
success: function (res) {
@@ -20,11 +22,11 @@
var Store3DData;
function initStore() {
$.ajax({
- // url: 'http://47.97.1.152:58080/jkwcs/three/init/store/v1',
- url: 'http://localhost:9090/jkwcs/three/init/store/v1',
+ url: 'http://47.97.1.152:58080/jkwcs/three/init/store/v1',
+ // url: 'http://localhost:9090/jkwcs/three/init/store/v1',
type: "POST",
data: {},
- async: false,
+ // async: false,
success: function (res) {
Store3DData = res;
}
--
Gitblit v1.9.1