@umijs/plugins 4.6.5 → 4.6.6
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.
package/dist/layout.js
CHANGED
|
@@ -506,7 +506,7 @@ export function getRightRenderContent (opts: {
|
|
|
506
506
|
};
|
|
507
507
|
// antd@5 和 4.24 之后推荐使用 menu,性能更好
|
|
508
508
|
let dropdownProps;
|
|
509
|
-
if (version.startsWith("5.") || version.startsWith("4.24.")) {
|
|
509
|
+
if (version.startsWith("6.") || version.startsWith("5.") || version.startsWith("4.24.")) {
|
|
510
510
|
dropdownProps = { menu: langMenu };
|
|
511
511
|
} else if (version.startsWith("3.")) {
|
|
512
512
|
dropdownProps = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umijs/plugins",
|
|
3
|
-
"version": "4.6.
|
|
3
|
+
"version": "4.6.6",
|
|
4
4
|
"description": "@umijs/plugins",
|
|
5
5
|
"homepage": "https://github.com/umijs/umi/tree/master/packages/plugins#readme",
|
|
6
6
|
"bugs": "https://github.com/umijs/umi/issues",
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"tslib": "^2",
|
|
47
47
|
"warning": "^4.0.3",
|
|
48
48
|
"@umijs/valtio": "1.0.4",
|
|
49
|
-
"@umijs/bundler-utils": "4.6.
|
|
49
|
+
"@umijs/bundler-utils": "4.6.6"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"antd": "^4.24.1",
|
|
53
|
-
"umi": "4.6.
|
|
53
|
+
"umi": "4.6.6"
|
|
54
54
|
},
|
|
55
55
|
"publishConfig": {
|
|
56
56
|
"access": "public"
|
|
@@ -441,9 +441,9 @@ export const SelectLang: React.FC<SelectLangProps> = (props) => {
|
|
|
441
441
|
})),
|
|
442
442
|
};
|
|
443
443
|
|
|
444
|
-
// antd
|
|
444
|
+
// antd 4.24 之后推荐使用 menu,性能更好
|
|
445
445
|
let dropdownProps;
|
|
446
|
-
if (version.startsWith("5.") || version.startsWith("4.24.")) {
|
|
446
|
+
if (version.startsWith("6.") || version.startsWith("5.") || version.startsWith("4.24.")) {
|
|
447
447
|
dropdownProps = { menu: langMenu };
|
|
448
448
|
} else if (version.startsWith("3.")) {
|
|
449
449
|
dropdownProps = {
|