ee-core 1.2.9-bate.1 → 1.2.9-bate.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -67,8 +67,7 @@ class Appliaction extends EeApp {
67
67
 
68
68
  await this.createPorts();
69
69
 
70
- this.startSocket();
71
- //return;
70
+ await this.startSocket();
72
71
 
73
72
  await this.ready();
74
73
 
package/lib/eeApp.js CHANGED
@@ -47,7 +47,7 @@ class EeApp extends BaseApp {
47
47
  /**
48
48
  * 启动通信模块
49
49
  */
50
- startSocket () {
50
+ async startSocket () {
51
51
  const socket = require('./socket/start');
52
52
  socket(this);
53
53
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ee-core",
3
- "version": "1.2.9-bate.1",
3
+ "version": "1.2.9-bate.2",
4
4
  "description": "ee core",
5
5
  "main": "index.js",
6
6
  "scripts": {
Binary file
Binary file
@@ -1,22 +0,0 @@
1
- <html>
2
- <head>
3
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
- <style type="text/css">
5
- body{
6
- margin:0px auto;
7
- }
8
- #picture1 {
9
- position: absolute;
10
- left: 50%;
11
- top: 35%;
12
- transform: translate(-50%, -50%);
13
- }
14
- </style>
15
- <title></title>
16
- </head>
17
- <body>
18
- <div id="picture1">
19
- <img src="./images/loding.gif" />
20
- </div>
21
- </body>
22
- </html>
@@ -1,22 +0,0 @@
1
- <html>
2
- <head>
3
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
- <style type="text/css">
5
- body{
6
- margin:0px auto;
7
- }
8
- #content {
9
- position: absolute;
10
- left: 50%;
11
- top: 35%;
12
- transform: translate(-50%, -50%);
13
- }
14
- </style>
15
- <title></title>
16
- </head>
17
- <body>
18
- <div id="content">
19
- 这是一个html页面
20
- </div>
21
- </body>
22
- </html>