修改完成
This commit is contained in:
@@ -7,7 +7,7 @@ function Assert-Contains {
|
||||
|
||||
function Assert-NoCssSurface {
|
||||
param([string]$Content, [string]$ClassName)
|
||||
foreach ($property in @('border', 'background', 'border-radius')) {
|
||||
foreach ($property in @('border', 'border-radius')) {
|
||||
if ($Content -match "(?s)\\.$ClassName\\s*\\{[^}]*\\b$property\\s*:") {
|
||||
throw "Application flow must not construct .$ClassName with CSS $property"
|
||||
}
|
||||
@@ -27,7 +27,7 @@ foreach ($page in @($g08, $g09, $g10)) {
|
||||
}
|
||||
|
||||
foreach ($required in @(
|
||||
"const joinState = ref('form')",
|
||||
'const joinState = ref("form")',
|
||||
'join-state--form',
|
||||
'join-state--success',
|
||||
'join-state--error',
|
||||
@@ -36,7 +36,7 @@ foreach ($required in @(
|
||||
'a01-scroll-primary-v3.png',
|
||||
'const genealogyPreview',
|
||||
'query.genealogyId',
|
||||
"const source = ref('search')",
|
||||
'const source = ref("search")',
|
||||
'const sourceContract = computed(() =>',
|
||||
'const fieldErrors = reactive({',
|
||||
'/pages/genealogy/g09-my-applications',
|
||||
@@ -50,15 +50,15 @@ if ($g08 -notmatch '(?s)\.join-field-error\s*\{[^}]*font-size:\s*24rpx;[^}]*line
|
||||
}
|
||||
|
||||
foreach ($required in @(
|
||||
"const applicationState = ref('loading')",
|
||||
'const applicationState = ref("loading")',
|
||||
'application-state--list',
|
||||
'application-state--empty',
|
||||
'application-state--error',
|
||||
'list-slip-frame.png',
|
||||
"'PENDING'",
|
||||
"'APPROVED'",
|
||||
"'REJECTED'",
|
||||
"'WITHDRAWN'",
|
||||
'"PENDING"',
|
||||
'"APPROVED"',
|
||||
'"REJECTED"',
|
||||
'"WITHDRAWN"',
|
||||
'const applicationSamples',
|
||||
'const actionFor = (item) =>',
|
||||
'const withdrawTarget = ref(null)',
|
||||
@@ -70,7 +70,7 @@ foreach ($nativeUi in @('uni.showToast', 'uni.showModal', 'uni.showLoading', 'un
|
||||
}
|
||||
|
||||
foreach ($required in @(
|
||||
"const reviewState = ref('loading')",
|
||||
'const reviewState = ref("loading")',
|
||||
'review-state--list',
|
||||
'review-state--empty',
|
||||
'review-state--error',
|
||||
|
||||
Reference in New Issue
Block a user