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/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 7638232..a6ced30 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