@@ -103,6 +110,8 @@
+
+
\ No newline at end of file
diff --git a/src/components/content/OnlineInference.vue b/src/components/content/OnlineInference.vue
new file mode 100644
index 0000000..bac867b
--- /dev/null
+++ b/src/components/content/OnlineInference.vue
@@ -0,0 +1,95 @@
+
+
+
+
Online Inference
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/content/SeqInferenceResultVisualize.vue b/src/components/content/SeqInferenceResultVisualize.vue
new file mode 100644
index 0000000..e813474
--- /dev/null
+++ b/src/components/content/SeqInferenceResultVisualize.vue
@@ -0,0 +1,102 @@
+
+
+
+
Inference Result Visualization
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/utils/ajax.js b/src/utils/ajax.js
index 7d2d857..c7e1556 100644
--- a/src/utils/ajax.js
+++ b/src/utils/ajax.js
@@ -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) {