@yeeyoon/library 3.4.9 → 3.5.0
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.
@@ -60,6 +60,7 @@ const Header = (props) => {
|
|
60
60
|
avatar,
|
61
61
|
userName,
|
62
62
|
slot = <></>,
|
63
|
+
prefixSlot = <></>,
|
63
64
|
handleException,
|
64
65
|
isSharePlatform = false,
|
65
66
|
} = props;
|
@@ -215,6 +216,11 @@ const Header = (props) => {
|
|
215
216
|
logo: LogoBpm,
|
216
217
|
name: '智慧项目',
|
217
218
|
};
|
219
|
+
case 'bpm-share':
|
220
|
+
return {
|
221
|
+
logo: LogoBpm,
|
222
|
+
name: '周转物资系统管理平台',
|
223
|
+
};
|
218
224
|
case 'mms':
|
219
225
|
return {
|
220
226
|
logo: LogoMms,
|
@@ -237,6 +243,7 @@ const Header = (props) => {
|
|
237
243
|
/>
|
238
244
|
</Tooltip>
|
239
245
|
)}
|
246
|
+
<div className={styles['comp-header__slot']}>{prefixSlot}</div>
|
240
247
|
<span
|
241
248
|
className={styles['comp-header__logo']}
|
242
249
|
onClick={() => {
|
@@ -356,6 +363,7 @@ Header.propTypes = {
|
|
356
363
|
avatar: PropTypes.string,
|
357
364
|
userName: PropTypes.string,
|
358
365
|
slot: PropTypes.node,
|
366
|
+
prefixSlot: PropTypes.node,
|
359
367
|
handleException: PropTypes.func,
|
360
368
|
isSharePlatform: PropTypes.bool,
|
361
369
|
};
|