@@ -1,6 +1,6 @@
module.exports = {
NODE_ENV: '"development"',
ENV_CONFIG: '"dev"',
- HOST: '"http://192.168.110.67:8182"',
- BASE_API: '"http://192.168.110.67:8182/m.api"'
+ HOST: '"http://192.168.110.138:8182"',
+ BASE_API: '"http://192.168.110.138:8182/m.api"'
}
@@ -4,7 +4,7 @@
<view class="user">
<image src="../../static/logo.png" mode="widthFix" class="img"></image>
<view class="name">
- 我是昵称
+ {{userInfo.nickName}}
</view>
<view class="position">
@@ -25,6 +25,7 @@
export default {
data() {
return {
+ userInfo:{},
menuList:[
{
name:"我的名片",
@@ -61,6 +62,9 @@
]
};
},
+ onShow() {
+ this.userInfo = uni.getStorageInfoSync("userInfo")
+ },
methods:{
menuClick(typeName){
let _url = '/pages/mySet/'+typeName