From 8874c90db2c238fa4c55df491675fe7fec9d93b2 Mon Sep 17 00:00:00 2001 From: fine <54142345+criver31@users.noreply.github.com> Date: 星期二, 09 一月 2024 11:45:30 +0800 Subject: [PATCH] Merge branch '648540858:wvp-28181-2.0' into wvp-28181-2.0 --- web_src/src/components/dialog/addUser.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web_src/src/components/dialog/addUser.vue b/web_src/src/components/dialog/addUser.vue index 9ac38aa..8dc5682 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,7 +139,7 @@ this.$axios({ method: 'get', - url: "./api/role/all" + url: "/api/role/all" }).then((res) => { this.loading = true; if (res.data.code === 0) { -- Gitblit v1.8.0