add Seq inference vis
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user