mirror of
https://github.com/openharmony/developtools_ace-ets2bundle.git
synced 2026-07-20 09:03:42 -04:00
add unique id of component tip Signed-off-by: yfwang6 <wangyongfei6@huawei.com> Change-Id: Iac1bcc14c1ebab085f66e1113a28397ae513b4b6
This commit is contained in:
@@ -1004,7 +1004,7 @@ function addComponentAttr(temp: any, node: ts.Identifier, lastStatement: any,
|
||||
}
|
||||
|
||||
if (propName === 'id') {
|
||||
const literalString = temp.arguments[0].text;
|
||||
const literalString: string = temp.arguments[0].text;
|
||||
const rLine: number = posOfNode.line + line;
|
||||
const rCol: number = posOfNode.character + col;
|
||||
const projectPath: string = projectConfig.projectPath;
|
||||
|
||||
Reference in New Issue
Block a user