mm_os 1.8.9 → 1.9.0

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.
@@ -32,6 +32,8 @@ class Drive extends Item {
32
32
  "name": "",
33
33
  // 状态 0未启用,1启用
34
34
  "state": 1,
35
+ // 显示 0不显示,1显示
36
+ "show": 0,
35
37
  // 标题, 介绍事件作用
36
38
  "title": "",
37
39
  // 描述, 用于描述该事件有什么用的
@@ -637,7 +637,7 @@ Drive.prototype.get_format = async function(db) {
637
637
  o.list = await dbs.getSql(o.where, null, o.id + "," + o.name);
638
638
  if (o.id !== o.key) {
639
639
  o.list.map((m) => {
640
- m[o.key] = m[o.id];
640
+ m[o.key] = m[o.name];
641
641
  return m;
642
642
  });
643
643
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_os",
3
- "version": "1.8.9",
3
+ "version": "1.9.0",
4
4
  "description": "这是超级美眉服务端框架,用于快速构建应用程序。",
5
5
  "main": "index.js",
6
6
  "scripts": {