mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 15:20:17 +00:00
去除definedText开头空格
Signed-off-by: wangcaoyu <wangcaoyu@huawei.com>
This commit is contained in:
parent
0ce2a078da
commit
0214db14c7
@ -1132,7 +1132,7 @@ export class ModifierHelper {
|
||||
}
|
||||
if (containerApiTypes.has(apiInfo.apiType)) {
|
||||
definedText += ` ${apiInfo.getApiType().toLowerCase()} ${apiInfo.getApiName()}`;
|
||||
apiInfo.setDefinedText(definedText);
|
||||
apiInfo.setDefinedText(definedText.trim());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user