未验证 提交 afd54ea3 编写于 作者: O openharmony_ci 提交者: Gitee

!23754 Accessibility ArkTS规范整改

Merge pull request !23754 from zhanghuiyu/master
...@@ -965,9 +965,7 @@ performAction(actionName: string, parameters: object, callback: AsyncCallback\<v ...@@ -965,9 +965,7 @@ performAction(actionName: string, parameters: object, callback: AsyncCallback\<v
import { BusinessError } from '@ohos.base'; import { BusinessError } from '@ohos.base';
let actionName = 'action'; let actionName = 'action';
let parameters = { let parameters: object = [];
'setText': 'test text'
};
try { try {
rootElement.performAction(actionName, parameters, (err: BusinessError<void>) => { rootElement.performAction(actionName, parameters, (err: BusinessError<void>) => {
if (err) { if (err) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册