mm_os 4.1.6 → 4.1.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.
Files changed (2) hide show
  1. package/com/db/drive.js +1 -1
  2. package/package.json +1 -1
package/com/db/drive.js CHANGED
@@ -105,7 +105,6 @@ Drive.prototype._parseFieldNote = function (note, tp, max_length) {
105
105
  var local_max_length = max_length;
106
106
 
107
107
  if (desc) {
108
- description = desc.right(']', true).left('(', true).trim();
109
108
  var range = desc.between('[', ']');
110
109
  if (range) {
111
110
  var min_str = range.left(',', true);
@@ -125,6 +124,7 @@ Drive.prototype._parseFieldNote = function (note, tp, max_length) {
125
124
  }
126
125
  }
127
126
  map = desc.between('(', ')');
127
+ description = desc.right(']', true).replace(`(${map})`, '').trim();
128
128
  }
129
129
  let min_length = 0;
130
130
  if (min > 0) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mm_os",
3
3
  "description": "MM_OS服务端架构,用于快速构建应用程序,支持网站建设、小程序后台、AI应用、物联网(IOT/AIOT)、游戏服务端等多种场景。",
4
- "version": "4.1.6",
4
+ "version": "4.1.7",
5
5
  "main": "index.js",
6
6
  "keywords": [
7
7
  "AI",