Signed-off-by: bojiang <jiangbo91@huawei.com>
Change-Id: I315f49d9fc81c453ff5e308b5bf90b5f5f03720e
This commit is contained in:
bojiang
2022-09-05 18:26:15 +08:00
parent cf3ce75c66
commit faf07d4fd3
+1 -1
View File
@@ -225,7 +225,7 @@ function validateEntryAndPreviewCount(result: DecoratorResult, fileQuery: string
fileQuery === '?entry') {
log.push({
type: LogType.ERROR,
message: `A page configured in '${projectConfig.pagesJsonFileName}' must have one and only one '@Entry' `
message: `A page which is being previewed must have one and only one '@Entry' `
+ `decorator, or at least one '@Preview' decorator.`,
fileName: fileName
});