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)