We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.5.1
h5
--
<wd-picker :columns="columns" label="多列联动" v-model="value" :column-change="onChangeDistrict" :display-format="displayFormat" /> const onChangeDistrict = (pickerView, value, columnIndex, resolve) => { const item = value[columnIndex] if (columnIndex === 0) { pickerView.setColumnData(1, district[item.value]) pickerView.setColumnData(2, district[district[item.value][0].value]) } else if (columnIndex === 1) { pickerView.setColumnData(2, []) } resolve() }
<wd-picker :columns="columns" label="多列联动" v-model="value" :column-change="onChangeDistrict" :display-format="displayFormat" />
const onChangeDistrict = (pickerView, value, columnIndex, resolve) => { const item = value[columnIndex] if (columnIndex === 0) { pickerView.setColumnData(1, district[item.value]) pickerView.setColumnData(2, district[district[item.value][0].value]) } else if (columnIndex === 1) { pickerView.setColumnData(2, []) } resolve() }
允许设置空数据
The value to select with Col:2 Row:-1 is incorrect
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Wot Design Uni 版本号
1.5.1
平台
h5
复现Demo地址(如不提供,将被直接关闭)
--
重现步骤
<wd-picker :columns="columns" label="多列联动" v-model="value" :column-change="onChangeDistrict" :display-format="displayFormat" />
const onChangeDistrict = (pickerView, value, columnIndex, resolve) => { const item = value[columnIndex] if (columnIndex === 0) { pickerView.setColumnData(1, district[item.value]) pickerView.setColumnData(2, district[district[item.value][0].value]) } else if (columnIndex === 1) { pickerView.setColumnData(2, []) } resolve() }
期望的结果是什么?
允许设置空数据
实际的结果是什么?
The value to select with Col:2 Row:-1 is incorrect
环境信息
No response
其他补充信息
No response
The text was updated successfully, but these errors were encountered: