@titaui/pc 1.15.6-beta.3 → 1.15.6-beta.4
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.
|
@@ -162,9 +162,9 @@
|
|
|
162
162
|
|
|
163
163
|
.titaui-nav-top__invite {
|
|
164
164
|
margin-right: 24px;
|
|
165
|
-
width: 28px;
|
|
166
|
-
height: 28px;
|
|
167
|
-
border-radius: 4px;
|
|
165
|
+
width: 28px !important;
|
|
166
|
+
height: 28px !important;
|
|
167
|
+
border-radius: 4px !important;
|
|
168
168
|
cursor: pointer;
|
|
169
169
|
display: inline-flex;
|
|
170
170
|
align-items: center;
|
|
@@ -158,7 +158,7 @@ var NavTop = function NavTop() {
|
|
|
158
158
|
setInviteAuth = _useState24[1];
|
|
159
159
|
|
|
160
160
|
var ua = navigator.userAgent.toLowerCase();
|
|
161
|
-
var showWxInvite =
|
|
161
|
+
var showWxInvite = (0, _bsGlobal.getTenantInfo)().mainCorpId && ua.indexOf('micromessenger') !== -1;
|
|
162
162
|
var showMangeAdd = !(0, _bsGlobal.getTenantInfo)().mainCorpId && ua.indexOf('micromessenger') !== -1 && isTry && Role.isSuperManager; // const canShowInvite = getTenantInfo().mainCorpId || Role.isSuperManager
|
|
163
163
|
// const showWxInvite =
|
|
164
164
|
// getTenantInfo().Source === 860 &&
|