From b3b71364e02310e1e8700854487042e7b1aaebce Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Mon, 26 Aug 2024 10:29:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/store/poleConfig.js | 6 +++--- vue.config.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/api/store/poleConfig.js b/src/api/store/poleConfig.js index ac28e4b..6f2fb66 100644 --- a/src/api/store/poleConfig.js +++ b/src/api/store/poleConfig.js @@ -18,7 +18,7 @@ export function getMaType(query) { } // 设备树 -export function getDeviceTypeTree(params = {}){ +export function getDeviceTypeTree(params = {}) { return request({ url: treeTypeUrl, method: 'post', @@ -39,8 +39,8 @@ export function addOrUpdateWhole(data) { export function searchSelectList(data = {}) { return request({ url: selectListUrl, - method: 'post', - data, + method: 'get', + params: data, }) } diff --git a/vue.config.js b/vue.config.js index ce9800c..2acd38b 100644 --- a/vue.config.js +++ b/vue.config.js @@ -44,7 +44,7 @@ module.exports = { // target: `http://192.168.2.141:39080`, //超 // target: `http://10.40.92.81:8080`, //韩/ - target: `http://192.168.2.82:39080`,//旭/ + target: `http://192.168.2.81:39080`,//旭/ // target: `http://10.40.92.138:28080`, //帅 // target: `http://192.168.2.218:39080`, //福 // target: `http://192.168.2.120:39080`, //跃o