待测试

This commit is contained in:
2026-07-28 07:58:26 +08:00
parent 1e9e25fe67
commit 6fbcf21024
22 changed files with 1294 additions and 264 deletions
+6
View File
@@ -30,6 +30,12 @@ foreach ($required in @('appApi.getProfile', 'onShow(loadProfile)', 'profile.nic
foreach ($required in @('appApi.getProfile', 'appApi.updateProfile', 'pickAndUploadImage', 'form.nickName', 'form.realName', 'form.sex', 'form.birthday', 'form.email', 'avatarId', 'buildUpdatePayload')) {
Require-Text $m02 $required 'M02'
}
foreach ($required in @('const sexOptions', 'value: "0"', 'value: "1"', 'value: "2"', 'range-key="label"', '@change="changeSex"')) {
Require-Text $m02 $required 'M02'
}
foreach ($forbidden in @('readonly-value', 'form-row--readonly')) {
Forbid-Text $m02 $forbidden 'M02'
}
foreach ($forbidden in @('avatarOssId', 'coverOssId', 'fileId')) {
Forbid-Text $m02 $forbidden 'M02'
}