From 1245ae7874fd97c70ec6048f4d90ee70831d17ba Mon Sep 17 00:00:00 2001
From: PengOu <595466820@qq.com>
Date: 星期二, 30 一月 2024 10:59:25 +0800
Subject: [PATCH] Fix 推流列表-> 添加通道 报错: 错误: 字段 "gbStreamId" 不存在 ,改为:gb_stream_id 自测试通过
---
web_src/src/components/console.vue | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/web_src/src/components/console.vue b/web_src/src/components/console.vue
old mode 100644
new mode 100755
index 2f5bb55..e192fb1
--- a/web_src/src/components/console.vue
+++ b/web_src/src/components/console.vue
@@ -114,7 +114,7 @@
getSystemInfo: function (){
this.$axios({
method: 'get',
- url: `./api/server/system/info`,
+ url: `/api/server/system/info`,
}).then( (res)=> {
if (res.data.code === 0) {
this.$refs.consoleCPU.setData(res.data.data.cpu)
@@ -128,7 +128,7 @@
getLoad: function (){
this.$axios({
method: 'get',
- url: `./api/server/media_server/load`,
+ url: `/api/server/media_server/load`,
}).then( (res)=> {
if (res.data.code === 0) {
this.$refs.consoleNodeLoad.setData(res.data.data)
@@ -139,7 +139,7 @@
getResourceInfo: function (){
this.$axios({
method: 'get',
- url: `./api/server/resource/info`,
+ url: `/api/server/resource/info`,
}).then( (res)=> {
if (res.data.code === 0) {
this.$refs.consoleResource.setData(res.data.data)
@@ -151,7 +151,7 @@
this.$axios({
method: 'get',
- url: `./api/server/system/configInfo`,
+ url: `/api/server/system/configInfo`,
}).then( (res)=> {
console.log(res)
if (res.data.code === 0) {
--
Gitblit v1.8.0