|
|
|
@ -489,7 +489,13 @@ |
|
|
|
houseDetail({houseId:that.id}).then(response=>{ |
|
|
|
let items = response.result |
|
|
|
console.info('response',response.result) |
|
|
|
if(items.homeMp4){ |
|
|
|
|
|
|
|
// 获取当前环境 |
|
|
|
const accountInfo = wx.getAccountInfoSync(); |
|
|
|
const envVersion = accountInfo.miniProgram.envVersion; |
|
|
|
|
|
|
|
// 只有在正式环境(release)才显示视频 |
|
|
|
if(items.homeMp4 && envVersion === 'release'){ |
|
|
|
that.list.push({ |
|
|
|
url: items.homeMp4, |
|
|
|
type: 'video' |
|
|
|
|