mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-02-24 05:46:04 +08:00
优化代码
This commit is contained in:
parent
0bd80bef73
commit
ef9a364da5
@ -49,6 +49,9 @@
|
||||
onLoad: function(options) {
|
||||
let that = this;
|
||||
context.onLoad(options);
|
||||
},
|
||||
onShow: function() {
|
||||
let that = this;
|
||||
that.communityId = context.getUserInfo().communityId;
|
||||
that.userId = context.getUserInfo().userId;
|
||||
|
||||
@ -76,9 +79,6 @@
|
||||
that.questions = _data.data;
|
||||
})
|
||||
},
|
||||
onShow: function() {
|
||||
let that = this;
|
||||
},
|
||||
methods: {
|
||||
gotoDetail: function(_question) {
|
||||
if(_question.state == '0'){
|
||||
|
||||
@ -18,6 +18,11 @@
|
||||
:checked="item.radio[valueIndex].checked?true:false" :value="valueItem.valueId"></checkbox>
|
||||
</view>
|
||||
</checkbox-group>
|
||||
<view v-else>
|
||||
<view class="cu-form-group ">
|
||||
<textarea maxlength="512" v-model="item.radio" placeholder="请回答"></textarea>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user