huhao@jgai.com 1 mesiac pred
rodič
commit
c2291ce4be
1 zmenil súbory, kde vykonal 2 pridanie a 4 odobranie
  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() {