xiongzhu 4 лет назад
Родитель
Сommit
fdd9063471

+ 0 - 24
o2web/source/o2_core/o2/xDesktop/$Default/blue/layout-pc.html

@@ -83,30 +83,6 @@
                     </el-menu>
         
                 </div>
-                <script src="../o2_lib/vue/vue.js"></script>
-                <script src="../o2_lib/element/index.js"></script>
-                <script>
-                    new Vue({
-                        el: '#app',
-                        data: function () {
-                            return { visible: false }
-                        },
-                        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);
-                                }
-                            }
-                        }
-                    })
-                </script>
             </div>
             <div class="layout_menu_setting deepColor_bg">
                 <div class="layout_menu_setting_button" data-o2-element="settingNode">

+ 24 - 0
o2web/source/x_desktop/index.html

@@ -84,5 +84,29 @@
     <script src="../o2_core/o2.min.js"></script>
     <script src="js/base.min.js"></script>
     <script src="js/x.min.js"></script>
+    <script src="../o2_lib/vue/vue.js"></script>
+    <script src="../o2_lib/element/index.js"></script>
+    <script>
+        new Vue({
+            el: '#app',
+            data: function () {
+                return { visible: false }
+            },
+            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);
+                    }
+                }
+            }
+        })
+    </script>
 </body>
 </html>