@gingkoo/base-server 0.0.4-alpha.40 → 0.0.4-alpha.42

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.
@@ -509,10 +509,7 @@ class PageEngine extends BaseXML {
509
509
  delete body.filterOptions.leftAction.actionMore;
510
510
  }
511
511
  body.oprBtns = body.oprBtns.filter((it) => {
512
- if (it.actionType !== 'del') {
513
- return false;
514
- }
515
- if (it.actionType !== 'edit' || it.label === '编辑') {
512
+ if (it.actionType === 'del' || it.actionType === 'edit' || it.label === '编辑') {
516
513
  return false;
517
514
  }
518
515
  return true;
@@ -404,7 +404,7 @@ function manualVLOOKUP(formula, worksheet, workbook) {
404
404
  }
405
405
  });
406
406
 
407
- return result;
407
+ return cellToString(result);
408
408
  }
409
409
 
410
410
  const cellToString = (value) => {
@@ -80,7 +80,7 @@ function manualVLOOKUP(formula, worksheet, workbook) {
80
80
  }
81
81
  });
82
82
 
83
- return result;
83
+ return cellToString(result);
84
84
  }
85
85
 
86
86
  // 获取单元格值
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gingkoo/base-server",
3
- "version": "0.0.4-alpha.40",
3
+ "version": "0.0.4-alpha.42",
4
4
  "description": "",
5
5
  "main": "app.js",
6
6
  "scripts": {
@@ -9,7 +9,7 @@
9
9
  "serve": "nodemon serve -p 1000",
10
10
  "check": "node scripts/check_publish.js",
11
11
  "clean": "rimraf dist",
12
- "prepublishOnly": "npm run check "
12
+ "prepublishOnly": "npm run check"
13
13
  },
14
14
  "files": [
15
15
  "dist",