mm_os 1.5.8 → 1.5.9

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.
@@ -626,11 +626,10 @@ Drive.prototype.get_format = async function(db) {
626
626
  if (!o.id) {
627
627
  o.id = o.key;
628
628
  }
629
- var list = await dbs.getSql(o.where, null, o.id + "," + o.name);
629
+ o.list = await dbs.getSql(o.where, null, o.id + "," + o.name);
630
630
  if (o.id !== o.key) {
631
- o.list = list.map((m) => {
631
+ o.list.map((m) => {
632
632
  m[o.key] = m[o.id];
633
- return m;
634
633
  });
635
634
  }
636
635
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_os",
3
- "version": "1.5.8",
3
+ "version": "1.5.9",
4
4
  "description": "这是超级美眉服务端框架,用于快速构建应用程序。",
5
5
  "main": "index.js",
6
6
  "scripts": {