!1064 not routing page @Entry @Preview error message revise

Merge pull request !1064 from Bo Jiang/master
This commit is contained in:
openharmony_ci
2022-09-06 13:39:21 +00:00
committed by Gitee
+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
});