mirror of
https://github.com/openharmony/developtools_ace-ets2bundle.git
synced 2026-07-19 16:43:34 -04:00
!1064 not routing page @Entry @Preview error message revise
Merge pull request !1064 from Bo Jiang/master
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