module-menu 0.3.27 → 0.3.28

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "module-menu",
3
- "version": "0.3.27",
3
+ "version": "0.3.28",
4
4
  "description": "城市大数据平台公共头部及尾部",
5
5
  "main": "src/pages/index.jsx",
6
6
  "scripts": {
@@ -16,7 +16,7 @@ import cn from 'classnames'
16
16
  import userLogo1 from '../../assets/userLogo1.png';
17
17
 
18
18
  // stash存在则为一体化,否则为轻量级
19
- const ModuleUser = ({ stash = '', isBigDataFoundationPlatform = false }) => {
19
+ const ModuleUser = ({ stash = '', isBigDataFoundationPlatform = false, PZCS = false }) => {
20
20
  const [tenantList, setTenantList] = useState([]);
21
21
  const [haveAppSystemPermission, setHaveAppSystemPermission] = useState(false);
22
22
  const [getSystemPermission, setGetSystemPermission] = useState(false);
@@ -256,13 +256,13 @@ const ModuleUser = ({ stash = '', isBigDataFoundationPlatform = false }) => {
256
256
  return (
257
257
  <div className={cn(stash !== 'LNRD'? 'right_size':'right_size_LNRD', 'right')}>
258
258
  {['integration', 'LNRD', 'HBJK'].includes(stash) && [
259
- !isBigDataFoundationPlatform && (
259
+ !isBigDataFoundationPlatform && !PZCS && (
260
260
  <Button type="link" onClick={jumpToExterHome}
261
261
  className={cn(stash === 'LNRD'? 'fwmh_color_LNRD': stash === 'HBJK'? 'fwmh_color_HBJK' : null)}>
262
262
  服务门户
263
263
  </Button>
264
264
  ),
265
- <Select
265
+ !PZCS && <Select
266
266
  defaultValue={curTenantId}
267
267
  className={stash === 'LNRD'? 'right-select_LNRD': stash === 'HBJK'? 'right-select_HBJK' : 'right-select'}
268
268
  style={{