From b16923d175812707e2e6db5f1ebfc7c6a7fc39ab Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: 星期三, 08 三月 2023 15:50:11 +0800
Subject: [PATCH] 优化报警时间
---
web_src/src/components/dialog/platformEdit.vue | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/web_src/src/components/dialog/platformEdit.vue b/web_src/src/components/dialog/platformEdit.vue
index a6ced30..7638232 100644
--- a/web_src/src/components/dialog/platformEdit.vue
+++ b/web_src/src/components/dialog/platformEdit.vue
@@ -138,7 +138,7 @@
showDialog: false,
isLoging: false,
onSubmit_text: "绔嬪嵆鍒涘缓",
- saveUrl: "./api/platform/save",
+ saveUrl: "/api/platform/save",
platform: {
id: null,
@@ -192,7 +192,7 @@
this.saveUrl = "/api/platform/add";
this.$axios({
method: 'get',
- url:`./api/platform/server_config`
+ url:`/api/platform/server_config`
}).then(function (res) {
console.log(res);
if (res.data.code === 0) {
@@ -315,7 +315,7 @@
var that = this;
await that.$axios({
method: 'get',
- url:`./api/platform/exit/${deviceGbId}`})
+ url:`/api/platform/exit/${deviceGbId}`})
.then(function (res) {
if (res.data.code === 0) {
result = res.data.data;
--
Gitblit v1.8.0