xiongzhu 4 tahun lalu
induk
melakukan
087cf7f010
1 mengubah file dengan 18 tambahan dan 18 penghapusan
  1. 18 18
      o2web/source/o2_core/o2/xDesktop/Default.js

+ 18 - 18
o2web/source/o2_core/o2/xDesktop/Default.js

@@ -161,27 +161,27 @@ o2.xDesktop.Default = new Class({
 
             this.fireEvent("load");
             MWF.require("MWF.xDesktop.shortcut");
-        }.bind(this));
-        new Vue({
-            el: '#app',
-            data: function () {
-                return { visible: false }
-            },
-            methods: {
-                handleOpen(key, keyPath) {
-                    console.log(key, keyPath);
-                },
-                handleClose(key, keyPath) {
-                    console.log(key, keyPath);
+            new Vue({
+                el: '#app',
+                data: function () {
+                    return { visible: false }
                 },
-                open(e, appNames, options, statusObj) {
-                    console.log(e, appNames, options, statusObj);
-                    if (layout) {
-                        layout.openApplication(e, appNames, options, statusObj);
+                methods: {
+                    handleOpen(key, keyPath) {
+                        console.log(key, keyPath);
+                    },
+                    handleClose(key, keyPath) {
+                        console.log(key, keyPath);
+                    },
+                    open(e, appNames, options, statusObj) {
+                        console.log(e, appNames, options, statusObj);
+                        if (layout) {
+                            layout.openApplication(e, appNames, options, statusObj);
+                        }
                     }
                 }
-            }
-        })
+            })
+        }.bind(this));
     },
     resizeHeight: function(){
         var y = this.menuNode.getSize().y;