@steedos/service-plugin-amis 2.3.0-beta.13 → 2.3.0-beta.16

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.
@@ -413,6 +413,12 @@ module.exports = {
413
413
  generateTabs: {
414
414
  async handler(ctx) {
415
415
  let selectedObjects = ctx.params && ctx.params.objects && ctx.params.objects.split(",");
416
+ if(!selectedObjects || !selectedObjects.length){
417
+ return {
418
+ doneCount:0,
419
+ errors: []
420
+ }
421
+ }
416
422
  const userSession = ctx.meta.user;
417
423
  const lng = userSession.language || 'zh-CN';
418
424
  const spaceId = userSession.spaceId;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/service-plugin-amis",
3
- "version": "2.3.0-beta.13",
3
+ "version": "2.3.0-beta.16",
4
4
  "main": "package.service.js",
5
5
  "scripts": {
6
6
  "build": "node .scripts/build.tailwind.js"
@@ -10,5 +10,5 @@
10
10
  "publishConfig": {
11
11
  "access": "public"
12
12
  },
13
- "gitHead": "0cb068d68d1062151ef0300911df620c4d5e13c3"
13
+ "gitHead": "01c22a1eb4fb1ce0de0ccb75ef8290d44b8d857a"
14
14
  }