@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
|
|
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/backend/utils/excel.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gingkoo/base-server",
|
|
3
|
-
"version": "0.0.4-alpha.
|
|
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",
|