fix: add woker modal text

This commit is contained in:
jialin
2024-07-23 17:15:12 +08:00
parent b19a71b9e9
commit 8097ba0df9
3 changed files with 40 additions and 2 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ npm install -g pnpm
3. Setup
```
git clone https://github.com/seal-io/gpustack-ui/
git clone https://github.com/gpustack/gpustack-ui/
```
4. Install dependencies
+1 -1
View File
@@ -26,5 +26,5 @@ export default {
'resources.worker.add.step2.tips':
'Note: <span style="color: #000;font-weight: 600">mytoken</span> is the token obtained in the first step.',
'resources.worker.add.step3':
'Refresh workers list, you can see the newly added worker.'
'Refresh workers list, you will see the new worker.'
};
+38
View File
@@ -71,3 +71,41 @@ export const ActionList = [
icon: EditOutlined
}
];
export const columns = [
{
title: 'models.name',
dataIndex: 'name',
key: 'name'
},
{
title: 'models.type',
dataIndex: 'type',
key: 'type'
},
{
title: 'models.source',
dataIndex: 'source',
key: 'source'
},
{
title: 'models.status',
dataIndex: 'status',
key: 'status'
},
{
title: 'models.createdat',
dataIndex: 'createdAt',
key: 'createdAt'
},
{
title: 'models.updatedat',
dataIndex: 'updatedAt',
key: 'updatedAt'
},
{
title: 'models.action',
dataIndex: 'action',
key: 'action'
}
];