|
@@ -41,7 +41,7 @@ const errorMessage=ref([]);
|
|
const topmsg=ref([]);
|
|
const topmsg=ref([]);
|
|
|
|
|
|
const view = (row: any) => {
|
|
const view = (row: any) => {
|
|
- const es = new EventSource(getOrigin(import.meta.env.VITE_SERVER_URL + "subscribe/logInfo?name="+row.name));
|
|
|
|
|
|
+ const es = new EventSource(getOrigin(import.meta.env.VITE_SERVER_URL + "/subscribe/logInfo?name="+row.name));
|
|
es.addEventListener('log', ({ data }) => {
|
|
es.addEventListener('log', ({ data }) => {
|
|
topmsg.value.unshift(data);
|
|
topmsg.value.unshift(data);
|
|
});
|
|
});
|