mirror of
https://github.com/openharmony/developtools_ace-ets2bundle.git
synced 2026-07-19 08:34:37 -04:00
Signed-off-by: bojiang <jiangbo91@huawei.com> Change-Id: I315f49d9fc81c453ff5e308b5bf90b5f5f03720e
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user