mm_os 2.1.6 → 2.1.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.
@@ -605,7 +605,6 @@ Drive.prototype.get_params = async function(db, fields) {
605
605
  var list = await db.fields();
606
606
  for (var i = 0; i < list.length; i++) {
607
607
  var o = list[i];
608
- console.log("值", o);
609
608
  var name = o.name;
610
609
  var note = o.note ? o.note.replace(":", ":") : name;
611
610
  lt.push({
@@ -616,10 +615,10 @@ Drive.prototype.get_params = async function(db, fields) {
616
615
  }
617
616
  }
618
617
  if (!fields) {
619
- fields = cg.field_default.replace(/`/g, "");
618
+ fields = cg.field_default;
620
619
  }
621
620
  if (fields && fields !== "*") {
622
- var arr = fields.split(',');
621
+ var arr = fields.replace(/`/g, "").split(',');
623
622
  var params = [];
624
623
  arr.map((name) => {
625
624
  var obj = lt.getObj({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_os",
3
- "version": "2.1.6",
3
+ "version": "2.1.8",
4
4
  "description": "这是超级美眉服务端框架,用于快速构建应用程序。",
5
5
  "main": "index.js",
6
6
  "scripts": {