From 9dcae6e4bf42c9abb4232cf34b6e6abb5f40b127 Mon Sep 17 00:00:00 2001 From: hujian <dreamorgin@qq.com> Date: 星期四, 16 二月 2023 23:08:34 +0800 Subject: [PATCH] 替换前端编译npm源地址为https://registry.npmmirror.com --- web_src/src/components/dialog/pushStreamEdit.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web_src/src/components/dialog/pushStreamEdit.vue b/web_src/src/components/dialog/pushStreamEdit.vue index 8c827a3..2e632b5 100644 --- a/web_src/src/components/dialog/pushStreamEdit.vue +++ b/web_src/src/components/dialog/pushStreamEdit.vue @@ -109,7 +109,7 @@ if (this.edit) { this.$axios({ method:"post", - url:`/api/push/save_to_gb`, + url:`./api/push/save_to_gb`, data: this.proxyParam }).then( (res) => { if (res.data.code === 0) { @@ -129,7 +129,7 @@ }else { this.$axios({ method:"post", - url:`/api/push/add`, + url:`./api/push/add`, data: this.proxyParam }).then( (res) => { if (res.data.code === 0) { @@ -158,8 +158,8 @@ var result = false; var that = this; await that.$axios({ - method:"post", - url:`/api/platform/exit/${deviceGbId}` + method:"get", + url:`./api/platform/exit/${deviceGbId}` }).then(function (res) { result = res.data; }).catch(function (error) { -- Gitblit v1.8.0