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