Forráskód Böngészése

fix: 修复在低版本手机上闪退的BUG

YuJing 1 hónapja
szülő
commit
d6bb9e022d

+ 1 - 1
features/feature/src/main/ets/view/MainView.ets

@@ -404,7 +404,7 @@ struct RecipeWidget{
             }
             .justifyContent(FlexAlign.End)
             .width(110)
-            .bindMenu(this.vm.dishList ? this._MenuWidget :  null, { hapticFeedbackMode: HapticFeedbackMode.ENABLED })
+            .bindMenu(this.vm.dishList ? this._MenuWidget :  null)
             .onClick(() => { this.openMenu(item.text!) })
           }
           .width('100%')

+ 1 - 1
features/feature/src/main/ets/view/SecondView.ets

@@ -39,7 +39,7 @@ export struct SecondView {
           .borderRadius(8)
           .backgroundColor('#EFF4E1')
           .padding({ left: 14, right: 14, top: 8, bottom: 8 })
-          .bindMenu(this.ageFilterWidget, { hapticFeedbackMode: HapticFeedbackMode.ENABLED })
+          .bindMenu(this.ageFilterWidget)
         }
         .width("100%")
         .justifyContent(FlexAlign.SpaceBetween)