优化跨域配置,支持同域的前后端分离部署
This commit is contained in:
@@ -65,7 +65,7 @@ export default {
|
||||
onSubmit: function () {
|
||||
this.$axios({
|
||||
method: 'post',
|
||||
url:"./api/user/changePushKey",
|
||||
url:"/api/user/changePushKey",
|
||||
params: {
|
||||
pushKey: this.newPushKey,
|
||||
userId: this.form.id,
|
||||
|
||||
Reference in New Issue
Block a user