@titaui/pc 1.15.66 → 1.15.67
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.
|
@@ -66,7 +66,7 @@ var NewMenuSwitcher = function NewMenuSwitcher(_ref) {
|
|
|
66
66
|
}; // 当租户开启新菜单时,不允许员工切换菜单版本
|
|
67
67
|
|
|
68
68
|
|
|
69
|
-
if (!window.BSGlobal.isShowSwitchMenu || _helpers.isTencentHr) return null;
|
|
69
|
+
if (!window.BSGlobal.isShowSwitchMenu || (0, _helpers.isTencentHr)()) return null;
|
|
70
70
|
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
71
71
|
className: (0, _classnames["default"])(precls, _defineProperty({}, "".concat(precls, "--trial"), isTrial)),
|
|
72
72
|
onClick: changeMenuVersion,
|