@steedos/service-plugin-amis 2.5.0-beta.10 → 2.5.0-beta.11

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.
@@ -234,15 +234,15 @@ module.exports = {
234
234
  */
235
235
  const relatedListObjects = [];
236
236
  const relationsInfo = await object.getRelationsInfo();
237
- const details = relationsInfo && relationsInfo.details;
238
- // const lookupDetails = relationsInfo && relationsInfo.lookup_details;
239
- // const relatedLists = _.union(details, lookupDetails);
237
+ let details = relationsInfo && relationsInfo.details;
238
+ const lookupDetails = relationsInfo && relationsInfo.lookup_details;
239
+ details = _.union(details, lookupDetails);
240
240
 
241
241
  _.each(details, function(related){
242
242
  /*related可能是一个lookup_details,它是对象而不是字符串,从中取出key值*/
243
- // if(typeof related !== "string"){
244
- // relatedListObjects.push(related.objectName)
245
- // }
243
+ if(typeof related !== "string"){
244
+ relatedListObjects.push(related.objectName)
245
+ }
246
246
  let foo = related.split('.');
247
247
  let rObjectName = foo[0];
248
248
  relatedListObjects.push(rObjectName);
@@ -1,8 +1,8 @@
1
1
  /*
2
2
  * @Author: baozhoutao@steedos.com
3
3
  * @Date: 2022-05-19 11:38:30
4
- * @LastEditors: 殷亮辉 yinlianghui@hotoa.com
5
- * @LastEditTime: 2023-03-15 17:37:05
4
+ * @LastEditors: baozhoutao@steedos.com
5
+ * @LastEditTime: 2023-04-19 13:20:20
6
6
  * @Description:
7
7
  */
8
8
  const PageSchema = require('./utils/page-schema');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/service-plugin-amis",
3
- "version": "2.5.0-beta.10",
3
+ "version": "2.5.0-beta.11",
4
4
  "main": "package.service.js",
5
5
  "scripts": {
6
6
  "build": "yarn build:tailwind-base && yarn build:tailwind",
@@ -13,7 +13,7 @@
13
13
  "publishConfig": {
14
14
  "access": "public"
15
15
  },
16
- "gitHead": "d751a4f5d4d6872b19a615769fe2484fc803ee82",
16
+ "gitHead": "72a894aab5a9d4e277d0464decda0ba39f2f50bb",
17
17
  "devDependencies": {
18
18
  "tailwindcss": "3.2.4"
19
19
  }
@@ -136,6 +136,14 @@
136
136
  margin-top: 0.75rem
137
137
  }
138
138
 
139
+ .mb-0 {
140
+ margin-bottom: 0px
141
+ }
142
+
143
+ .ml-2 {
144
+ margin-left: 0.5rem
145
+ }
146
+
139
147
  .block {
140
148
  display: block
141
149
  }
@@ -368,6 +376,16 @@
368
376
  padding-bottom: 0.5rem
369
377
  }
370
378
 
379
+ .py-5 {
380
+ padding-top: 1.25rem;
381
+ padding-bottom: 1.25rem
382
+ }
383
+
384
+ .py-1 {
385
+ padding-top: 0.25rem;
386
+ padding-bottom: 0.25rem
387
+ }
388
+
371
389
  .pr-4 {
372
390
  padding-right: 1rem
373
391
  }
@@ -408,6 +426,18 @@
408
426
  text-align: center
409
427
  }
410
428
 
429
+ .text-lg {
430
+ font-size: 16px
431
+ }
432
+
433
+ .text-xl {
434
+ font-size: 18px
435
+ }
436
+
437
+ .font-bold {
438
+ font-weight: 700
439
+ }
440
+
411
441
  .lowercase {
412
442
  text-transform: lowercase
413
443
  }