UNPKG

yanzhen-design-vue

Version:

17 lines (16 loc) 489 B
import { provideApiConfig } from "@yanzhen-lowcode/core"; import { getApiSymbol, Select } from "../constants/apis.mjs"; const selectApis = getApiSymbol(); function provideSelectApi(props) { const _api = provideApiConfig(props); const getColumnOptionSetQuery = (options) => { return _api == null ? void 0 : _api.value.request(options ?? {}, selectApis[Select.COLUMN_OPTION_SET_QUERY]); }; return { getColumnOptionSetQuery }; } export { provideSelectApi, selectApis };