feat: 完成70%全局样式与可读性优化

This commit is contained in:
rain
2026-07-31 11:27:15 +08:00
parent 96524e4d6c
commit 555aa00043
116 changed files with 1928 additions and 1169 deletions
@@ -0,0 +1,15 @@
$ErrorActionPreference = 'Stop'
$root = Split-Path -Parent $PSScriptRoot
$page = Get-Content -LiteralPath (Join-Path $root 'pages/tree/t05-edit-member.vue') -Raw -Encoding UTF8
foreach ($forbidden in @('<text>人物编号</text>', '<text>业务用户</text>')) {
if ($page.Contains($forbidden)) {
throw "Edit-member form must not expose the internal identifier: $forbidden"
}
}
if (-not $page.Contains('appApi.updatePerson(')) {
throw 'Edit-member save contract must remain intact'
}
Write-Output 'MEMBER-INTERNAL-IDENTIFIERS-VISIBILITY-CONTRACT PASS'