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