fix(mp): 小程序页面优化 + E2E 测试报告更新

- 小程序各页面优化和修复
- 更新联调报告和 E2E 测试报告
- 更新 miniprogram wiki
This commit is contained in:
iven
2026-05-15 23:03:21 +08:00
parent ced1c0ad0c
commit c06e986090
24 changed files with 905 additions and 441 deletions

View File

@@ -7,6 +7,9 @@ import './index.scss';
const IS_DEV = process.env.NODE_ENV !== 'production';
// 运行时检测是否在 DevTools 模拟器中(弥补编译时 IS_DEV 在 production 构建中为 false 的问题)
const IS_SIMULATOR = typeof __wxConfig !== 'undefined' && (__wxConfig as any).envVersion !== 'release';
export default function Login() {
const modeClass = useElderClass();
const [needBind, setNeedBind] = useState(false);
@@ -124,7 +127,7 @@ export default function Login() {
>
</Button>
{IS_DEV && (
{(IS_DEV || IS_SIMULATOR) && (
<Button className='login-btn login-btn--dev' onClick={handleDevQuickLogin} loading={loading}>
</Button>