@lingxiteam/ebe-utils 0.2.23 → 0.2.24
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
|
};
|
|
@@ -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.
|
|
3
|
+
"version": "0.2.24",
|
|
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.
|
|
22
|
+
"@lingxiteam/ebe": "0.2.24"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|