fix: 权限和图片处理
This commit is contained in:
parent
7063930bfb
commit
e46f6213e5
@ -78,7 +78,7 @@ struct Index {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
async onPageShow(): Promise<void> {
|
async onPageShow(): Promise<void> {
|
||||||
dConsole.log("权限首页 onPageShow2")
|
dConsole.log("权限首页 onPageShow2")
|
||||||
if (!this.isPlay) {
|
if (!this.isPlay) {
|
||||||
@ -220,7 +220,7 @@ struct Index {
|
|||||||
HeaderComponent({
|
HeaderComponent({
|
||||||
shortLogo: false
|
shortLogo: false
|
||||||
})
|
})
|
||||||
|
|
||||||
CardComponent({
|
CardComponent({
|
||||||
isSingle: this.singlePlay,
|
isSingle: this.singlePlay,
|
||||||
singleClick: () => {
|
singleClick: () => {
|
||||||
|
|||||||
@ -212,7 +212,7 @@ export default struct FaceRecognitionDialog {
|
|||||||
.width(600)
|
.width(600)
|
||||||
// 图片
|
// 图片
|
||||||
Row() {
|
Row() {
|
||||||
Image(this.base64).height("100%").width("100%")
|
Image(this.base64).height("100%").width("100%").objectFit(ImageFit.Contain)
|
||||||
}
|
}
|
||||||
.height("100%")
|
.height("100%")
|
||||||
.width(600)
|
.width(600)
|
||||||
|
|||||||
@ -54,6 +54,7 @@
|
|||||||
{
|
{
|
||||||
"name": "ohos.permission.SET_TIME"
|
"name": "ohos.permission.SET_TIME"
|
||||||
},
|
},
|
||||||
|
{"name": "ohos.permission.ACCESS_SERVICE_DM"},
|
||||||
{
|
{
|
||||||
"name": "ohos.permission.INTERNET"
|
"name": "ohos.permission.INTERNET"
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user