Commit 8b44ca9b authored by 罗林杰's avatar 罗林杰

修改查询

parent 81ed5d2f
// 应用全局配置 // 应用全局配置
module.exports = { module.exports = {
// baseUrl: 'http://106.3.97.198:20162' // baseUrl: 'http://106.3.97.198:20162'
baseUrl: 'http://192.168.1.7:8092',//接口URL baseUrl: 'http://localhost:8092',//接口URL
imgUrl:'http://192.168.1.7/static/images',//图片URL imgUrl:'http://192.168.1.7/static/images',//图片URL
webViewUrl:'http://192.168.1.7:8080'//小程序跳转H5页面的URL webViewUrl:'http://192.168.1.7:8080'//小程序跳转H5页面的URL
} }
......
...@@ -551,7 +551,7 @@ export default { ...@@ -551,7 +551,7 @@ export default {
}, },
methods: { methods: {
getUserInfo() { getUserInfo() {
userDetail('3').then(res => { userDetail(uni.getStorageSync('userInfo').memberId).then(res => {
this.userInfo = res.data.data this.userInfo = res.data.data
//处理性别 //处理性别
this.form.memSexText = getValue('sex',res.data.data.memSex) this.form.memSexText = getValue('sex',res.data.data.memSex)
......
...@@ -433,7 +433,7 @@ import {updateUser, userDetail} from "../../api/user"; ...@@ -433,7 +433,7 @@ import {updateUser, userDetail} from "../../api/user";
}) })
}, },
getUserInfo() { getUserInfo() {
userDetail('3').then(res => { userDetail(uni.getStorageSync('userInfo').memberId).then(res => {
this.userInfo = res.data.data this.userInfo = res.data.data
//处理头像 //处理头像
this.userInfo.avatarUrl = (res.data.data.avatarUrl.replace(/\\/g, '/')) this.userInfo.avatarUrl = (res.data.data.avatarUrl.replace(/\\/g, '/'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment