feat(auth): compact agreement layout to single-line and support flexible backend configuration for user agreement and privacy policy
这个提交包含在:
@@ -473,6 +473,15 @@ describe('ContentSecurityService & Compliance Architecture (TDD 微信内容安
|
||||
const emojiRegex = /(?:\p{Extended_Pictographic}|\p{Emoji_Presentation}|[\u2600-\u27BF])/u;
|
||||
expect(emojiRegex.test(content)).toBe(false);
|
||||
});
|
||||
|
||||
it('登录页面底部协议必须支持后台灵活配置与单行紧凑展示规范', () => {
|
||||
const loginPath = path.join(rootDir, 'pwuniapp', 'pages', 'auth', 'login.vue');
|
||||
const content = fs.readFileSync(loginPath, 'utf-8');
|
||||
expect(content).toContain('getPlatformConfigs');
|
||||
expect(content).toContain('platformProtocol');
|
||||
expect(content).toContain('loadProtocolConfig');
|
||||
expect(content).toContain('white-space: nowrap');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
在新工单中引用
屏蔽一个用户