Bläddra i källkod

取消遮罩层

huhao@jgai.com 1 månad sedan
förälder
incheckning
c2291ce4be
1 ändrade filer med 2 tillägg och 4 borttagningar
  1. 2 4
      entry/src/main/ets/pages/Index.ets

+ 2 - 4
entry/src/main/ets/pages/Index.ets

@@ -174,11 +174,10 @@ struct WorkshopPage {
         this.lightControlArray[2] = this.lightControlArray[2] === 1 ? 0 : 1
       },
     }),
-    autoCancel: false,
+    autoCancel: true,
     alignment: DialogAlignment.Center,
     // gridCount: 3,
     customStyle: true,
-    maskColor: $r('app.color.60000000'),
   })
 
   // 机器人弹窗控制器
@@ -188,11 +187,10 @@ struct WorkshopPage {
       cancel: ()=> {},
       confirm: ()=> {},
     }),
-    autoCancel: false,
+    autoCancel: true,
     alignment: DialogAlignment.Center,
     // gridCount: 3,
     customStyle: true,
-    maskColor: $r('app.color.60000000'),
   })
 
   build() {