From 7c2332b477ac756dc86d4963c88442149bd56cd0 Mon Sep 17 00:00:00 2001 From: fengdong777 <1478994744@qq.com> Date: Fri, 21 Jul 2023 11:24:39 +0800 Subject: [PATCH] 1 --- warehousing-system/project_web_ui/src/main.js | 2 +- .../initial_value/add/storehouseAdd.vue | 21 ++++++++++--------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/warehousing-system/project_web_ui/src/main.js b/warehousing-system/project_web_ui/src/main.js index eea68dbb..a8b617bf 100644 --- a/warehousing-system/project_web_ui/src/main.js +++ b/warehousing-system/project_web_ui/src/main.js @@ -24,7 +24,7 @@ Vue.use(ElementUI) import axios from 'axios' /* 设定axios的请求根目录 */ -axios.defaults.baseURL = 'http://192.168.1.193:9050' +axios.defaults.baseURL = 'http://jianguan.yyundong.com/warehouseapi/' // import '@/permission' //权限控制 Vue.prototype.$http = axios Vue.prototype.$userInfo = null // 用户信息 diff --git a/warehousing-system/project_web_ui/src/views/component/initial_value/add/storehouseAdd.vue b/warehousing-system/project_web_ui/src/views/component/initial_value/add/storehouseAdd.vue index 62661179..54ee75ce 100644 --- a/warehousing-system/project_web_ui/src/views/component/initial_value/add/storehouseAdd.vue +++ b/warehousing-system/project_web_ui/src/views/component/initial_value/add/storehouseAdd.vue @@ -41,7 +41,7 @@ { - return item.sid === val; - }); - // this.form.projectSid = obj.entryName; - }, + // changeLocationValue(val){ + // let obj = {}; + // obj = this.projectName.find((item)=>{ + // return item.sid === val; + // }); + // this.form.projectSid = obj.entryName; + // }, isLngAndLat() { var index = document.getElementById("lngAndLat").value; var array = index.split(",");