fix: 权限和图片处理

This commit is contained in:
wangzhongjie 2025-09-10 19:49:01 +08:00
parent 7063930bfb
commit e46f6213e5
3 changed files with 4 additions and 3 deletions

View File

@ -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)

View File

@ -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"
}, },