From 8acd64eac67b9b0a8d3f160b704faeebc91db0a0 Mon Sep 17 00:00:00 2001 From: mrjackwang <30337754+mrjackwang@users.noreply.github.com> Date: 星期六, 04 三月 2023 21:37:39 +0800 Subject: [PATCH] Merge branch '648540858:wvp-28181-2.0' into wvp-28181-2.0 --- web_src/src/components/dialog/addUser.vue | 9 ++------- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/web_src/src/components/dialog/addUser.vue b/web_src/src/components/dialog/addUser.vue index 612c1e5..9ac38aa 100644 --- a/web_src/src/components/dialog/addUser.vue +++ b/web_src/src/components/dialog/addUser.vue @@ -100,7 +100,7 @@ onSubmit: function () { this.$axios({ method: 'post', - url: "/api/user/add", + url: "./api/user/add", params: { username: this.username, password: this.password, @@ -139,16 +139,11 @@ this.$axios({ method: 'get', - url: "/api/role/all" + url: "./api/role/all" }).then((res) => { this.loading = true; - console.info(res) - res.data - console.info(res.data.code) if (res.data.code === 0) { - console.info(res.data.data) this.options=res.data.data - } }).catch((error) => { console.error(error) -- Gitblit v1.8.0