@yeeyoon/library 3.6.0 → 3.6.3
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.
@@ -306,7 +306,9 @@ const Header = (props) => {
|
|
306
306
|
<IconTodo style={IconStyle} />
|
307
307
|
任务中心
|
308
308
|
</span>
|
309
|
-
{(productName === 'bpm' ||
|
309
|
+
{(productName === 'bpm' ||
|
310
|
+
productName === 'wms' ||
|
311
|
+
productName === 'profile') && (
|
310
312
|
<span
|
311
313
|
className={styles['comp-header__icon']}
|
312
314
|
onClick={() => {
|
@@ -43,11 +43,14 @@ const TenantSelector = (props) => {
|
|
43
43
|
id = tenants[0].id;
|
44
44
|
name = tenants[0].name;
|
45
45
|
}
|
46
|
-
if (!isSharePlatform) {
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
} else {
|
46
|
+
// if (!isSharePlatform) {
|
47
|
+
// tenants = tenants.filter(
|
48
|
+
// (item) => !shareTenantIdList.includes(item.id)
|
49
|
+
// );
|
50
|
+
// } else {
|
51
|
+
// tenants = tenants.filter((item) => shareTenantIdList.includes(item.id));
|
52
|
+
// }
|
53
|
+
if (isSharePlatform) {
|
51
54
|
tenants = tenants.filter((item) => shareTenantIdList.includes(item.id));
|
52
55
|
}
|
53
56
|
setTenantList(tenants);
|