| 12345678910 |
- import { parse } from "@/cool";
- import type { ClCascaderOption, ClListViewItem } from "../types";
- export function useListView(data: UTSJSONObject[]) {
- return data.map((e) => parse<ClListViewItem>(e)!);
- }
- export function useCascader(data: UTSJSONObject[]) {
- return data.map((e) => parse<ClCascaderOption>(e)!);
- }
|