refactor(系统设置): 去掉接口请求路径中斜杠后缀
This commit is contained in:
parent
ae501ba648
commit
0376ff4b99
|
@ -95,7 +95,7 @@ export default {
|
||||||
userResourceUrl: {
|
userResourceUrl: {
|
||||||
type: String,
|
type: String,
|
||||||
default() {
|
default() {
|
||||||
return '/user/list/';
|
return '/user/list';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -146,7 +146,7 @@ export default {
|
||||||
submitType: '',
|
submitType: '',
|
||||||
userSelectDisable: false,
|
userSelectDisable: false,
|
||||||
initUserGroupUrl: "/user/group/user/",
|
initUserGroupUrl: "/user/group/user/",
|
||||||
initUserUrl: "/user/list/",
|
initUserUrl: "/user/list",
|
||||||
rules: {
|
rules: {
|
||||||
userIds: {required: true, message: this.$t('member.please_choose_member'), trigger: 'blur'},
|
userIds: {required: true, message: this.$t('member.please_choose_member'), trigger: 'blur'},
|
||||||
sourceIds: {required: true, message: this.$t('group.select_belong_source'), trigger: 'blur'}
|
sourceIds: {required: true, message: this.$t('group.select_belong_source'), trigger: 'blur'}
|
||||||
|
@ -209,7 +209,7 @@ export default {
|
||||||
},
|
},
|
||||||
open(group, initUserGroupUrl, initUserUrl) {
|
open(group, initUserGroupUrl, initUserUrl) {
|
||||||
this.initUserGroupUrl = initUserGroupUrl ? initUserGroupUrl : "/user/group/user/";
|
this.initUserGroupUrl = initUserGroupUrl ? initUserGroupUrl : "/user/group/user/";
|
||||||
this.initUserUrl = initUserUrl ? initUserUrl : "/user/list/";
|
this.initUserUrl = initUserUrl ? initUserUrl : "/user/list";
|
||||||
this.visible = true;
|
this.visible = true;
|
||||||
this.group = group;
|
this.group = group;
|
||||||
this.init();
|
this.init();
|
||||||
|
|
|
@ -156,7 +156,7 @@ export default {
|
||||||
submitType: '',
|
submitType: '',
|
||||||
userSelectDisable: false,
|
userSelectDisable: false,
|
||||||
initUserGroupUrl: "/user/group/user/",
|
initUserGroupUrl: "/user/group/user/",
|
||||||
initUserUrl: "/user/list/",
|
initUserUrl: "/user/list",
|
||||||
rules: {
|
rules: {
|
||||||
userIds: {required: true, message: this.$t('member.please_choose_member'), trigger: 'blur'},
|
userIds: {required: true, message: this.$t('member.please_choose_member'), trigger: 'blur'},
|
||||||
sourceIds: {required: true, message: this.$t('group.select_belong_source'), trigger: 'blur'}
|
sourceIds: {required: true, message: this.$t('group.select_belong_source'), trigger: 'blur'}
|
||||||
|
@ -202,7 +202,7 @@ export default {
|
||||||
},
|
},
|
||||||
open(group, initUserGroupUrl, initUserUrl) {
|
open(group, initUserGroupUrl, initUserUrl) {
|
||||||
this.initUserGroupUrl = initUserGroupUrl ? initUserGroupUrl : "/user/group/user/";
|
this.initUserGroupUrl = initUserGroupUrl ? initUserGroupUrl : "/user/group/user/";
|
||||||
this.initUserUrl = initUserUrl ? initUserUrl : "/user/list/";
|
this.initUserUrl = initUserUrl ? initUserUrl : "/user/list";
|
||||||
this.visible = true;
|
this.visible = true;
|
||||||
this.group = group;
|
this.group = group;
|
||||||
this.init();
|
this.init();
|
||||||
|
|
Loading…
Reference in New Issue