This commit is contained in:
xuli
2025-11-21 18:25:05 +08:00
parent a62063850b
commit 9b4ccd7811
8 changed files with 276 additions and 98 deletions

View File

@@ -150,7 +150,7 @@ const handleRemove = (index) => {
};
// 点击组件某一项
const handleChange = (index, item) => {
console.log("选中了某一项", index, item);
// console.log("选中了某一项", index, item);
// 如果是单选框,选中一项后直接关闭
if (!props.multiple) {
console.log("关闭下拉框");