mm_os 1.6.6 → 1.6.8

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.
@@ -592,9 +592,12 @@ Drive.prototype.get_format = async function(obj) {
592
592
  format.name = arr[1];
593
593
  if (arr.length > 2) {
594
594
  format.id = arr[2];
595
+ } else {
596
+ format.id = obj.name;
595
597
  }
596
598
  } else {
597
599
  format.table = obj.map;
600
+ format.id = obj.name;
598
601
  format.name = 'name';
599
602
  }
600
603
  }
@@ -1086,4 +1089,4 @@ Drive.prototype.new_api = async function(client, manage, cover) {
1086
1089
  }
1087
1090
  };
1088
1091
 
1089
- module.exports = Drive;
1092
+ module.exports = Drive;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_os",
3
- "version": "1.6.6",
3
+ "version": "1.6.8",
4
4
  "description": "这是超级美眉服务端框架,用于快速构建应用程序。",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -36,7 +36,7 @@
36
36
  "koa-websocket": "^7.0.0",
37
37
  "mm_check": "^1.4.4",
38
38
  "mm_excel": "^1.1.1",
39
- "mm_expand": "^1.5.6",
39
+ "mm_expand": "^1.5.9",
40
40
  "mm_html": "^1.1.1",
41
41
  "mm_koa_proxy": "^1.0.0",
42
42
  "mm_logs": "^1.1.0",