修改当前小区名称

This commit is contained in:
wuxw 2020-01-01 01:13:09 +08:00
parent 12f1e2d2cd
commit ce18a46278
2 changed files with 6 additions and 2 deletions

View File

@ -8,7 +8,8 @@ Page({
* 页面的初始数据
*/
data: {
locations:[]
locations:[],
communityName:''
},
/**
@ -79,6 +80,9 @@ Page({
memberId: _owner.memberId,
communityId: _owner.communityId
}
_that.setData({
communityName: _owner.communityName
});
wx.request({
url: constant.url.listOwnerMachines,
header: context.getHeaders(),

View File

@ -1,7 +1,7 @@
<view>
<view class="akl_community">
<van-cell-group>
<van-cell title="当前小区" value="格兰小镇" size="large" />
<van-cell title="当前小区" value="{{communityName}}" size="large" />
</van-cell-group>
</view>