refactor(通用功能): 个人信息的第三方平台账号信息改为非必填

--bug=1027177 --user=陈建星 【通用功能】用户组与权限-设置权限-个人信息-只勾选第三方平台账号-个人信息页面必填选项直接显示提示 https://www.tapd.cn/55049933/s/1386287
This commit is contained in:
jianxing 2023-06-26 17:10:32 +08:00 committed by 刘瑞斌
parent 95c1a1af3f
commit 9405957a2f
1 changed files with 3 additions and 0 deletions

View File

@ -75,6 +75,9 @@ export default {
} }
}); });
this.rules = getPlatformFormRules(this.config); this.rules = getPlatformFormRules(this.config);
for (const key in this.rules) {
this.rules[key].required = false;
}
}, },
validate() { validate() {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {