补充结果总览前端展示回归保护

This commit is contained in:
wkc
2026-03-22 12:06:42 +08:00
parent 44c782c1e2
commit d619a7a34c
4 changed files with 29 additions and 0 deletions

View File

@@ -14,12 +14,15 @@ const source = fs.readFileSync(
'return "全部模型"',
"this.selectedModelCodes = [...this.selectedModelCodes, modelCode]",
"this.selectedModelCodes = this.selectedModelCodes.filter((item) => item !== modelCode)",
"buildPeopleParams()",
"modelCodes: this.selectedModelCodes",
"matchMode: this.matchMode",
'this.matchMode = "ANY"',
'this.selectedModelCodes = []',
'this.keyword = ""',
"this.deptId = undefined",
"this.pageNum = 1",
"this.fetchPeopleList({ syncCardLoading: true })",
"keyword: this.keyword",
"deptId: this.deptId",
].forEach((token) => assert(source.includes(token), token));