提交 0c32cdaf 编写于 作者: KK's avatar KK

配置名称调整

上级 e8dcb4de
......@@ -4,7 +4,7 @@ export const settingConfig = {
// 用户实体参数名称
userEntityName:"user",
// 个人中心视图(需用户手动配置)
userCenterName:"",
userCenterViewName:"",
// 手机号码
mobilePhoneNumber:true,
// 主题
......
......@@ -200,8 +200,8 @@ export default class AppSetting extends Vue {
if(context && context.srfuserid){
user[this.settingConfig.userEntityName] = context.srfuserid;
}
if(this.settingConfig.userCenterName){
this.$appmodal.openModal({viewname:this.settingConfig.userCenterName,title:""},user);
if(this.settingConfig.userCenterViewName){
this.$appmodal.openModal({viewname:this.settingConfig.userCenterViewName,title:""},user);
}else{
this.$notice.warning("用户自定义视图未配置")
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册