@titaui/pc 1.7.40 → 1.7.41
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/lib/components/nav-top/utils.js +1 -1
- package/package.json +1 -1
- package/yarn-error.log +0 -15894
|
@@ -25,7 +25,7 @@ exports.getMenus = getMenus;
|
|
|
25
25
|
var getLogo = function getLogo() {
|
|
26
26
|
// 232637ab8a674427a1d6489329035d86_n 是老logo的路径,没法判断是否用户自定义过,所以只能这么硬核
|
|
27
27
|
var tenantInfo = (0, _bsGlobal.getTenantInfo)();
|
|
28
|
-
return tenantInfo.isNewIndex && /232637ab8a674427a1d6489329035d86_n/g.test(tenantInfo.Logo) ? _logoWhite["default"] : tenantInfo.Logo;
|
|
28
|
+
return tenantInfo.isNewIndex && /232637ab8a674427a1d6489329035d86_n/g.test(tenantInfo.Logo) || !tenantInfo.Logo ? _logoWhite["default"] : tenantInfo.Logo;
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
exports.getLogo = getLogo;
|