mm_os 2.3.4 → 2.3.5

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.
@@ -318,13 +318,8 @@ Drive.prototype.update_online = async function(clientid, online = 1) {
318
318
  tip,
319
319
  device
320
320
  } = await $.server.check_device(clientid);
321
- if (device) {
322
- if (online) {
323
- if (!device.online) {
324
- device.online = online;
325
- }
326
- device.time_last = time_last;
327
- }
321
+ if (device && online && !device.online) {
322
+ device.online = online;
328
323
  }
329
324
  }
330
325
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_os",
3
- "version": "2.3.4",
3
+ "version": "2.3.5",
4
4
  "description": "这是超级美眉服务端框架,用于快速构建应用程序。",
5
5
  "main": "index.js",
6
6
  "scripts": {