mm_os 1.5.8 → 1.6.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.
- package/core/com/sql/drive.js +2 -3
- package/package.json +2 -2
package/core/com/sql/drive.js
CHANGED
|
@@ -626,9 +626,9 @@ Drive.prototype.get_format = async function(db) {
|
|
|
626
626
|
if (!o.id) {
|
|
627
627
|
o.id = o.key;
|
|
628
628
|
}
|
|
629
|
-
|
|
629
|
+
o.list = await dbs.getSql(o.where, null, o.id + "," + o.name);
|
|
630
630
|
if (o.id !== o.key) {
|
|
631
|
-
o.list
|
|
631
|
+
o.list.map((m) => {
|
|
632
632
|
m[o.key] = m[o.id];
|
|
633
633
|
return m;
|
|
634
634
|
});
|
|
@@ -1041,5 +1041,4 @@ Drive.prototype.count = async function(db, query, body) {
|
|
|
1041
1041
|
return await this.count_main(db, pm);
|
|
1042
1042
|
};
|
|
1043
1043
|
|
|
1044
|
-
|
|
1045
1044
|
module.exports = Drive;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mm_os",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "这是超级美眉服务端框架,用于快速构建应用程序。",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"koa-send": "^5.0.1",
|
|
36
36
|
"koa-websocket": "^7.0.0",
|
|
37
37
|
"mm_check": "^1.4.4",
|
|
38
|
-
"mm_excel": "^1.0.
|
|
38
|
+
"mm_excel": "^1.0.9",
|
|
39
39
|
"mm_expand": "^1.5.6",
|
|
40
40
|
"mm_html": "^1.1.1",
|
|
41
41
|
"mm_koa_proxy": "^1.0.0",
|