@lingxiteam/ebe-utils 0.2.23 → 0.2.25

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.
@@ -57,7 +57,7 @@ const Layout: LingXiFC<LayoutProps> = props => {
57
57
  canDrag: false,
58
58
  style: {
59
59
  ...targetChild?.props?.style,
60
- maxWidth: '100%', // // 一级的普通容器用户会自定义,超过最大的会影响栅格布局,和UI确定最大宽度就为100%
60
+ // maxWidth: '100%', // // 一级的普通容器用户会自定义,超过最大的会影响栅格布局,和UI确定最大宽度就为100%
61
61
  },
62
62
  },
63
63
  };
@@ -89,7 +89,7 @@ const Layout: LingXiFC<LayoutProps> = props => {
89
89
  canDrag: false,
90
90
  style: {
91
91
  ...targetChild?.props?.style,
92
- maxWidth: '100%', // 一级的普通容器用户会自定义,超过最大的会影响栅格布局,和UI确定最大宽度就为100%
92
+ // maxWidth: '100%', // 一级的普通容器用户会自定义,超过最大的会影响栅格布局,和UI确定最大宽度就为100%
93
93
  },
94
94
  },
95
95
  };
@@ -43,13 +43,14 @@
43
43
  }
44
44
  }
45
45
 
46
- &::after {
47
- content: ':';
48
- display: inline-block;
49
- width: 8px;
50
- text-align: center;
51
- margin-right: 8px;
52
- }
46
+ // TODO: 临时去掉 冒号
47
+ // &::after {
48
+ // content: ':';
49
+ // display: inline-block;
50
+ // width: 8px;
51
+ // text-align: center;
52
+ // margin-right: 8px;
53
+ // }
53
54
 
54
55
  &-no-colon {
55
56
  .formLabel-item-label-title {
@@ -339,13 +340,14 @@
339
340
  .@{form-item-prefix-cls} {
340
341
  // label不换行
341
342
  &-label {
342
- &::after {
343
- content: ':';
344
- display: inline-block;
345
- width: 8px;
346
- text-align: center;
347
- margin-right: 8px;
348
- }
343
+ // TODO: 临时去掉 冒号
344
+ // &::after {
345
+ // content: ':';
346
+ // display: inline-block;
347
+ // width: 8px;
348
+ // text-align: center;
349
+ // margin-right: 8px;
350
+ // }
349
351
 
350
352
  &>label {
351
353
  // 减去冒号占位符宽度
@@ -104,7 +104,7 @@ export const useLocale = (
104
104
  ) => {
105
105
  const getLocale = (t: string, params?: any) => {
106
106
  if (localeApis?.getLocale) {
107
- return localeApis?.getLocale(t, '', params);
107
+ return localeApis?.getLocale(t, '', params) || lang(t, params);
108
108
  }
109
109
  return lang(t, params);
110
110
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingxiteam/ebe-utils",
3
- "version": "0.2.23",
3
+ "version": "0.2.25",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "author": "",
@@ -19,7 +19,7 @@
19
19
  "@babel/types": "^7.12.12",
20
20
  "cac": "^6.7.14",
21
21
  "fs-extra": "9.x",
22
- "@lingxiteam/ebe": "0.2.23"
22
+ "@lingxiteam/ebe": "0.2.25"
23
23
  },
24
24
  "publishConfig": {
25
25
  "access": "public"