picker text 绑定错误

This commit is contained in:
icssoa
2025-08-08 10:14:51 +08:00
parent 6d7964afcb
commit 9aeb5925be
2 changed files with 2 additions and 3 deletions

View File

@@ -44,7 +44,7 @@
[isDark && index == value[columnIndex], '!text-white']
])
}"
>{{ item.value }}</cl-text
>{{ item.label }}</cl-text
>
</view>
</picker-view-column>

View File

@@ -30,7 +30,7 @@
<cl-picker-view
:value="indexes"
:columns="columns"
@change="onChange"
@change-index="onChange"
></cl-picker-view>
</view>
@@ -68,7 +68,6 @@ import { isEmpty, parsePt } from "@/cool";
import type { ClSelectTriggerPassThrough } from "../cl-select-trigger/props";
import type { ClPopupPassThrough } from "../cl-popup/props";
import { t } from "@/locale";
import { useForm } from "../../hooks";
defineOptions({
name: "cl-select"