mm_os 1.6.5 → 1.6.7
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/db/drive.js +4 -1
- package/index.js +1 -3
- package/package.json +1 -1
package/core/com/db/drive.js
CHANGED
|
@@ -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/index.js
CHANGED
|
@@ -142,9 +142,7 @@ Soa.prototype.init = function(config) {
|
|
|
142
142
|
/**
|
|
143
143
|
* 运行基础数据
|
|
144
144
|
* @param {Object} cg - 配置对象
|
|
145
|
-
*/
|
|
146
|
-
Soa.prototype.initBase = function(cg) {
|
|
147
|
-
*/
|
|
145
|
+
*/
|
|
148
146
|
Soa.prototype.initBase = function(cg) {
|
|
149
147
|
var middleware = $.middleware;
|
|
150
148
|
middleware.init();
|