!244 修改使卡片管理窗口中的卡片不可点击

Merge pull request !244 from liubaibao/master
This commit is contained in:
openharmony_ci 2022-08-12 01:46:53 +00:00 committed by Gitee
commit 10c026ef63
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 4 additions and 0 deletions

View File

@ -140,6 +140,8 @@ export struct FormManagerDialog {
module: formItem.moduleName,
dimension: dimensionItem,
})
.enabled(false)
.focusable(false)
.clip(new Rect({
width: this.mFormComponentWidth[dimensionItem - 1],
height: this.mFormComponentHeight[dimensionItem - 1],

View File

@ -153,6 +153,8 @@ export struct FormManagerComponent {
module: formItem.moduleName,
dimension: dimensionItem,
})
.enabled(false)
.focusable(false)
.clip(new Rect({
width: this.mFormComponentWidth[dimensionItem - 1],
height: this.mFormComponentHeight[dimensionItem - 1],