This commit is contained in:
parent
f68cdedf87
commit
7cf190dff9
@ -19,6 +19,9 @@
|
||||
<template v-else-if="column.key === 'status'">
|
||||
<a-tag :color="getStatusDict(record.status).color">{{getStatusDict(record.status).title}}</a-tag>
|
||||
</template>
|
||||
<template v-else-if="column.key === 'online'">
|
||||
<a-tag :color="record.online?'success':'red'">{{record.online ? '在线':'离线'}}</a-tag>
|
||||
</template>
|
||||
<template v-else-if="column.key === 'ticker'">
|
||||
<span>{{record.config.ticker}}</span>
|
||||
</template>
|
||||
@ -228,13 +231,19 @@ const columns = [
|
||||
{
|
||||
title: '抓取时间',
|
||||
key: 'ticker',
|
||||
width: 250
|
||||
width: 150
|
||||
},
|
||||
{
|
||||
title: '状态',
|
||||
dataIndex: 'status',
|
||||
key: 'status',
|
||||
width: 250
|
||||
width: 150
|
||||
},
|
||||
{
|
||||
title: '在线',
|
||||
dataIndex: 'online',
|
||||
key: 'online',
|
||||
width: 150
|
||||
},
|
||||
{
|
||||
title: '备注',
|
||||
@ -244,6 +253,7 @@ const columns = [
|
||||
{
|
||||
title: '操作',
|
||||
key: 'opt',
|
||||
width: 250
|
||||
}
|
||||
]
|
||||
|
||||
|
@ -35,15 +35,15 @@ export default defineConfig({
|
||||
ws: true,
|
||||
},
|
||||
'/api/v2/sellers': {
|
||||
target: 'http://localhost:8081/',
|
||||
// target: 'https://ht.timerzz.com:20443/',
|
||||
// target: 'http://localhost:8081/',
|
||||
target: 'https://ht.timerzz.com:20443/',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
ws: true,
|
||||
},
|
||||
'/api/v2/seller': {
|
||||
target: 'http://localhost:8083/',
|
||||
// target: 'https://ht.timerzz.com:20443/',
|
||||
// target: 'http://localhost:8083/',
|
||||
target: 'https://ht.timerzz.com:20443/',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
ws: true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user