@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
- if (okrIndex !== -1) {
368
- return true;
369
- } else {
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 () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.15.15",
3
+ "version": "1.15.16",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",