```为什么在APP里通过v-model绑定无法修改Check的值???
<view class="form-row" v-for="(item,index) in dchecklist" :key="index">
<label class="title"><text class="red">*</text>{{item.Name}}</label>
<ccPicker class="item" :range="dtankflag" v-model="item.Check" @picker_change="country_change"></ccPicker>
<input v-model="item.Comment" />
</view>
dtankflag: [
{ V: '1', K: '正常' },
{ V: '2', K: '异常' },
{ V: '3', K: '失效' }
],
dchecklist:[{
"ID": "1",
"Name": "安全阀防雨罩",
Check: '1',
Comment: ""
}, {
"ID": "2",
"Name": "标识",
Check: '1',
Comment: ""
}, {
"ID": "3",
"Name": "操作箱",
Check: '1',
Comment: ""
}, {
"ID": "4",
"Name": "腐蚀状况",
Check: '1',
Comment: ""
}]
3***@qq.com
- 发布:2021-02-28 22:20
- 更新:2021-02-28 22:20
- 阅读:465
0 个回复