From 5c4a8b7abf4d13aef1b52918cc6055d6858d17eb Mon Sep 17 00:00:00 2001 From: hofee Date: Mon, 23 Sep 2024 15:36:27 +0800 Subject: [PATCH] add filterable for select --- src/components/content/cards/SelectSeqCard.vue | 2 +- src/utils/ajax.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/content/cards/SelectSeqCard.vue b/src/components/content/cards/SelectSeqCard.vue index fffc2ca..9232975 100644 --- a/src/components/content/cards/SelectSeqCard.vue +++ b/src/components/content/cards/SelectSeqCard.vue @@ -23,7 +23,7 @@

Select Scene:

- diff --git a/src/utils/ajax.js b/src/utils/ajax.js index 5b0cb56..114ea44 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/" +// var baseURL = "http://localhost:13333/" export default { post(url, params) { @@ -13,7 +13,7 @@ export default { return qs.stringify(data) } ]; - var res = axios.post(`${baseURL}${url}`, params).then((res) => { + var res = axios.post(`${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(`${baseURL}${url}`, params).then((res) => { + var res = axios.post(`${url}`, params).then((res) => { console.log("res:", res) if (res.status == 200) { if (res.data.exception != undefined && res.data.exception) { @@ -64,7 +64,7 @@ export default { return data; } ]; - var res = axios.post(`${baseURL}${url}`, params).then((res) => { + var res = axios.post(`${url}`, params).then((res) => { console.log("res:", res) if (res.status == 200) { if (res.data.exception != undefined && res.data.exception) {