diff --git a/src/views/seller/index.vue b/src/views/seller/index.vue
index c06b0be..71ae3ae 100644
--- a/src/views/seller/index.vue
+++ b/src/views/seller/index.vue
@@ -19,6 +19,9 @@
{{getStatusDict(record.status).title}}
+
+ {{record.online ? '在线':'离线'}}
+
{{record.config.ticker}}
@@ -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
}
]
diff --git a/vite.config.js b/vite.config.js
index e353bf7..53da80f 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -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,