@mw-kit/mw-ui 1.7.18 → 1.7.19
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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -12422,7 +12422,7 @@ var MenuComponent = function MenuComponent(props, ref) {
|
|
|
12422
12422
|
var rule = rules.map(function (rule) {
|
|
12423
12423
|
return rule(index, option.data, label);
|
|
12424
12424
|
}).find(function (result) {
|
|
12425
|
-
return result;
|
|
12425
|
+
return result !== true;
|
|
12426
12426
|
});
|
|
12427
12427
|
|
|
12428
12428
|
if (rule === true || rule === undefined) {
|