Commit 61d7b3ff by zhaochengxiang

管理更多控制

parent 521d1ab0
......@@ -4,7 +4,7 @@ import {
Route, Switch
} from 'react-router-dom';
import { $hostParams, ContextPath } from './util';
import { $hostParams, ContextPath, isSzseEnv } from './util';
import loadable from "./util/loadable";
import { AssetMountReference } from './util/constant';
......@@ -45,7 +45,9 @@ export class App extends React.Component {
componentDidMount() {
this.setState({ hostParams: this.props?.data });
if (isSzseEnv) {
this.getDataRoles();
}
this.$$hostParams = $hostParams.subscribe({
next: (v) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment