fix: remove first umijs in prod html
This commit is contained in:
@@ -15,7 +15,7 @@ const Models: React.FC = () => {
|
||||
const { setChunkRequest } = useSetChunkRequest();
|
||||
const { setChunkRequest: setModelInstanceChunkRequest } =
|
||||
useSetChunkRequest();
|
||||
const [total, setTotal] = useState(100);
|
||||
const [total, setTotal] = useState(0);
|
||||
const [modelInstances, setModelInstances] = useState<any[]>([]);
|
||||
const [loading, setLoading] = useState(false);
|
||||
const [dataSource, setDataSource] = useState<ListItem[]>([]);
|
||||
|
||||
@@ -30,7 +30,7 @@ const AddWorker: React.FC<ViewModalProps> = (props) => {
|
||||
>
|
||||
<div>
|
||||
<h3>1. {intl.formatMessage({ id: 'resources.worker.add.step1' })}</h3>
|
||||
<h4>Linux Or MacOS </h4>
|
||||
<h4>{intl.formatMessage({ id: 'resources.worker.linuxormaxos' })}</h4>
|
||||
<HighlightCode code={addWorkerGuide.mac.getToken}></HighlightCode>
|
||||
<h4>Windows </h4>
|
||||
<HighlightCode code={addWorkerGuide.win.getToken}></HighlightCode>
|
||||
@@ -46,7 +46,7 @@ const AddWorker: React.FC<ViewModalProps> = (props) => {
|
||||
}}
|
||||
></span>
|
||||
</h3>
|
||||
<h4>Linux Or MacOS </h4>
|
||||
<h4>{intl.formatMessage({ id: 'resources.worker.linuxormaxos' })}</h4>
|
||||
<HighlightCode
|
||||
code={addWorkerGuide.mac.registerWorker(origin)}
|
||||
></HighlightCode>
|
||||
|
||||
Reference in New Issue
Block a user