select.ts 305 B

12345678910
  1. import { defHttp } from '/@/utils/http/axios';
  2. import { DemoOptionsItem } from './model/optionsModel';
  3. enum Api {
  4. OPTIONS_LIST = '/select/getDemoOptions',
  5. }
  6. /**
  7. * @description: Get sample options value
  8. */
  9. export const optionsListApi = () => defHttp.get<DemoOptionsItem[]>({ url: Api.OPTIONS_LIST });