@titaui/pc 1.15.15 → 1.15.16
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.
|
@@ -363,12 +363,10 @@ var NavTop = function NavTop() {
|
|
|
363
363
|
var okrIndex = (0, _bsGlobal.getBSGlobal)('WebHead').AppHead.findIndex(function (item) {
|
|
364
364
|
return item.AppId === '113';
|
|
365
365
|
});
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
return
|
|
369
|
-
}
|
|
370
|
-
return false;
|
|
371
|
-
}
|
|
366
|
+
var newNavigation = (0, _bsGlobal.getBSGlobal)('newNavigation');
|
|
367
|
+
return newNavigation.findIndex(function (v) {
|
|
368
|
+
return v.appId === 113;
|
|
369
|
+
}) !== -1 && okrIndex;
|
|
372
370
|
};
|
|
373
371
|
|
|
374
372
|
(0, _react.useEffect)(function () {
|