@gingkoo/base-server 0.0.4-alpha.41 → 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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gingkoo/base-server",
3
- "version": "0.0.4-alpha.41",
3
+ "version": "0.0.4-alpha.42",
4
4
  "description": "",
5
5
  "main": "app.js",
6
6
  "scripts": {