Commit 4a05fe29 by 张立顺

Merge branch 'SAAS+V4.49.0-0121' into 'develop'

上线合并

See merge request !359
2 parents f45a9ed4 f33b5e8e
...@@ -9,7 +9,18 @@ Component({ ...@@ -9,7 +9,18 @@ Component({
styleIsolation: 'shared', // 自定义覆盖vant样式 styleIsolation: 'shared', // 自定义覆盖vant样式
}, },
properties: { properties: {
show: Boolean, show: {
type: Boolean,
observer: function(n) {
if (n) {
let sysInfo = wx.getSystemInfoSync()
// sysInfo.environment 1 企业微信打开 0微信打开
this.setData({
envName: sysInfo.environment ? 1 : 0
})
}
}
},
isListShow: Boolean isListShow: Boolean
}, },
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
<view class="popup-content"> <view class="popup-content">
<view class="title">请选择</view> <view class="title">请选择</view>
<view class="popup-item" bindtap="uploadImages">上传图片</view> <view class="popup-item" bindtap="uploadImages">上传图片</view>
<view class="popup-item" bindtap="uploadPDFs">上传PDF</view> <view class="popup-item" wx:if="{{envName != 1}}" bindtap="uploadPDFs">上传PDF</view>
</view> </view>
</van-popup> </van-popup>
</block> </block>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!