Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
04c3bfe8
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
大约 1 年 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
04c3bfe8
编写于
6月 09, 2022
作者:
C
chengxingzhen
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
XTS问题用例整改
Signed-off-by:
N
chengxingzhen
<
chengxingzhen@huawei.com
>
上级
75aca33a
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
9 addition
and
10 deletion
+9
-10
aafwk/aafwk_standard/fa/BUILD.gn
aafwk/aafwk_standard/fa/BUILD.gn
+0
-2
aafwk/aafwk_standard/fa/faapplicationinfo/BUILD.gn
aafwk/aafwk_standard/fa/faapplicationinfo/BUILD.gn
+0
-1
aafwk/aafwk_standard/fa/faapplicationinfo/entry/src/main/js/MainAbility2/pages/index/index.js
...ninfo/entry/src/main/js/MainAbility2/pages/index/index.js
+9
-7
未找到文件。
aafwk/aafwk_standard/fa/BUILD.gn
浏览文件 @
04c3bfe8
...
...
@@ -17,10 +17,8 @@ group("fa") {
testonly = true
if (is_standard_system) {
deps = [
"faapplicationinfo:ActsApplicationinfoTest",
"faconfigurationconstant:ActsConfigurationconstantTest",
"facoverapi:ActsCoverapiTest",
"faequeryabilitybywant:ActsEqueryabilitybywantTest",
]
}
}
aafwk/aafwk_standard/fa/faapplicationinfo/BUILD.gn
浏览文件 @
04c3bfe8
...
...
@@ -25,7 +25,6 @@ ohos_js_hap_suite("ActsApplicationinfoTest") {
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./entry/src/main/js"
hap_profile = "entry/src/main/config.json"
js2abc = true
}
ohos_resources("hjs_demo_resources") {
sources = [ "./entry/src/main/js/resources" ]
...
...
aafwk/aafwk_standard/fa/faapplicationinfo/entry/src/main/js/MainAbility2/pages/index/index.js
浏览文件 @
04c3bfe8
...
...
@@ -40,20 +40,24 @@ export default {
featureAbility
.
getWant
(
(
err
,
data
)
=>
{
if
(
data
.
uri
==
'
{true,true,false}
'
){
console
.
info
(
"
SUB_AA_OpenHarmony_Want_0200_StartAbility
"
+
JSON
.
stringify
(
data
)
+
JSON
.
stringify
(
err
));
console
.
info
(
"
SUB_AA_OpenHarmony_Want_0200_StartAbility
"
+
JSON
.
stringify
(
data
)
+
JSON
.
stringify
(
err
));
event
=
data
.
uri
commonEventPublishData
=
{
data
:
event
,
}
commonEvent
.
publish
(
'
SUB_AA_OpenHarmony_Want_0200_CommonEvent
'
,
commonEventPublishData
,
PublishCallBackOne
);
commonEvent
.
publish
(
'
SUB_AA_OpenHarmony_Want_0200_CommonEvent
'
,
commonEventPublishData
,
PublishCallBackOne
);
}
if
(
data
.
type
==
'
MIMETYPE
'
){
console
.
info
(
"
SUB_AA_OpenHarmony_Want_0300_StartAbility
"
+
JSON
.
stringify
(
data
)
+
JSON
.
stringify
(
err
));
console
.
info
(
"
SUB_AA_OpenHarmony_Want_0300_StartAbility
"
+
JSON
.
stringify
(
data
)
+
JSON
.
stringify
(
err
));
event
=
data
.
type
commonEventPublishData
=
{
data
:
event
,
}
commonEvent
.
publish
(
'
SUB_AA_OpenHarmony_Want_0300_CommonEvent
'
,
commonEventPublishData
,
PublishCallBackTwo
);
commonEvent
.
publish
(
'
SUB_AA_OpenHarmony_Want_0300_CommonEvent
'
,
commonEventPublishData
,
PublishCallBackTwo
);
}
}
...
...
@@ -63,5 +67,3 @@ export default {
console
.
info
(
'
ApplicationInfo MainAbility2 onReady
'
);
},
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录