chore: remove first login ux

This commit is contained in:
jialin
2025-04-14 10:37:00 +08:00
parent d5acf92f8a
commit 58e979bc45
3 changed files with 1 additions and 5 deletions
@@ -808,7 +808,6 @@ const Models: React.FC<ModelsProps> = ({
></PageTools> ></PageTools>
<SealTable <SealTable
empty={renderEmpty}
columns={columns} columns={columns}
dataSource={dataSource} dataSource={dataSource}
rowSelection={rowSelection} rowSelection={rowSelection}
+1 -3
View File
@@ -350,10 +350,9 @@ const Models: React.FC = () => {
}; };
const init = async () => { const init = async () => {
const [modelRes, workerRes, cList, modelFileList] = await Promise.all([ const [modelRes, workerRes, modelFileList] = await Promise.all([
getTableData(), getTableData(),
getWorkerList(), getWorkerList(),
getCataLogList(),
getModelFileList() getModelFileList()
]); ]);
const dataList = generateModelFileOptions( const dataList = generateModelFileOptions(
@@ -368,7 +367,6 @@ const Models: React.FC = () => {
deletedIds: [] deletedIds: []
}); });
setWorkerList(workerRes.items || []); setWorkerList(workerRes.items || []);
setCatalogList(cList);
setModelFileOptions(dataList); setModelFileOptions(dataList);
clearTimeout(timer); clearTimeout(timer);
@@ -25,7 +25,6 @@
position: relative; position: relative;
padding: 0 4px; padding: 0 4px;
border-radius: var(--border-radius-mini); border-radius: var(--border-radius-mini);
font-weight: var(--font-weight-medium);
} }
.actions { .actions {