add Seq inference vis

This commit is contained in:
2024-09-19 14:56:43 +08:00
parent e92486d08d
commit 947c9a198e
5 changed files with 269 additions and 6 deletions

View File

@@ -3,7 +3,7 @@ import qs from 'qs';
import axios from 'axios'
import { Message } from 'view-design'
var baseURL = "http://localhost:13333/"
export default {
post(url, params) {
@@ -13,7 +13,7 @@ export default {
return qs.stringify(data)
}
];
var res = axios.post(`${url}`, params).then((res) => {
var res = axios.post(`${baseURL}${url}`, params).then((res) => {
console.log("res:", res)
if (res.status == 200) {
if (res.data.exception != undefined && res.data.exception) {
@@ -37,7 +37,7 @@ export default {
return JSON.stringify(data)
}
];
var res = axios.post(`${url}`, params).then((res) => {
var res = axios.post(`${baseURL}${url}`, params).then((res) => {
console.log("res:", res)
if (res.status == 200) {
if (res.data.exception != undefined && res.data.exception) {