feat: 完成70%全局样式与可读性优化
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
$ErrorActionPreference = 'Stop'
|
||||
$root = Split-Path -Parent $PSScriptRoot
|
||||
|
||||
foreach ($pageName in @('t04-add-relative.vue', 't05-edit-member.vue')) {
|
||||
$page = Get-Content -LiteralPath (Join-Path $root "pages/tree/$pageName") -Raw -Encoding UTF8
|
||||
if ($page.Contains('<text>业务用户</text>') -or $page.Contains('appUserBindingHint')) {
|
||||
throw "$pageName must not expose the internal business-user field"
|
||||
}
|
||||
if (-not $page.Contains('bindingMode')) {
|
||||
throw "$pageName must retain the member binding payload contract"
|
||||
}
|
||||
}
|
||||
|
||||
Write-Output 'MEMBER-APP-USER-VISIBILITY-CONTRACT PASS'
|
||||
Reference in New Issue
Block a user