薛鸿潇 5 лет назад
Родитель
Сommit
dfd1c634c5

+ 8 - 22
assets/resources/module/agreementTip/agreementTip.prefab

@@ -24,17 +24,17 @@
     "_active": true,
     "_components": [
       {
-        "__id__": 53
+        "__id__": 52
       },
       {
-        "__id__": 54
+        "__id__": 53
       },
       {
-        "__id__": 55
+        "__id__": 54
       }
     ],
     "_prefab": {
-      "__id__": 56
+      "__id__": 55
     },
     "_opacity": 255,
     "_color": {
@@ -116,11 +116,11 @@
     "_active": true,
     "_components": [
       {
-        "__id__": 51
+        "__id__": 50
       }
     ],
     "_prefab": {
-      "__id__": 52
+      "__id__": 51
     },
     "_opacity": 255,
     "_color": {
@@ -1602,7 +1602,7 @@
       }
     ],
     "_prefab": {
-      "__id__": 50
+      "__id__": 49
     },
     "_opacity": 255,
     "_color": {
@@ -1770,24 +1770,10 @@
     "panel_name": "game/prefab/game",
     "open_type": 0,
     "transition_type": 3,
-    "onComplete": [
-      {
-        "__id__": 49
-      }
-    ],
+    "onComplete": [],
     "_id": ""
   },
   {
-    "__type__": "cc.ClickEvent",
-    "target": {
-      "__id__": 1
-    },
-    "component": "",
-    "_componentId": "27e8eZbIM9ApIU8LRLiALwU",
-    "handler": "clickAgreeCall",
-    "customEventData": ""
-  },
-  {
     "__type__": "cc.PrefabInfo",
     "root": {
       "__id__": 1

+ 0 - 7
assets/script/game/module/agreementTip/agreementTip.ts

@@ -16,13 +16,6 @@ export default class agreementTip extends cc.Component {
     }
 
     /**
-     * 同意按钮回调
-     */
-    private clickAgreeCall() {
-        mk.storage.setStorage('notShowAgreementTip', true)
-    }
-
-    /**
      * 点击协议按钮
      * @param data 协议类型
      */