jobsys-newbie
Version:
Enhanced component based on ant-design-vue
34 lines (33 loc) • 46 kB
HTML
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="generator" content="VuePress 2.0.0-beta.67">
<style>
:root {
--c-bg: #fff;
}
html.dark {
--c-bg: #22272e;
}
html, body {
background-color: var(--c-bg);
}
</style>
<script>
const userMode = localStorage.getItem('vuepress-color-scheme');
const systemDarkMode = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches;
if (userMode === 'dark' || (userMode !== 'light' && systemDarkMode)) {
document.documentElement.classList.toggle('dark', true);
}
</script>
<title>Newbie Component</title><meta name="description" content="Enhanced Vue components based on AntD.">
<link rel="preload" href="/docs/newbie/assets/style-398c75cc.css" as="style"><link rel="stylesheet" href="/docs/newbie/assets/style-398c75cc.css">
<link rel="modulepreload" href="/docs/newbie/assets/app-e5356031.js"><link rel="modulepreload" href="/docs/newbie/assets/hooks.html-adccea0a.js"><link rel="modulepreload" href="/docs/newbie/assets/hooks.html-00cc23c0.js"><link rel="prefetch" href="/docs/newbie/assets/index.html-89f7cf72.js" as="script"><link rel="prefetch" href="/docs/newbie/assets/NewbieAddress.html-47b67690.js" as="script"><link rel="prefetch" href="/docs/newbie/assets/NewbieButton.html-b67253b4.js" as="script"><link rel="prefetch" href="/docs/newbie/assets/NewbieForm.html-b6dbee27.js" as="script"><link rel="prefetch" href="/docs/newbie/assets/NewbieEditor.html-5db09ee2.js" as="script"><link rel="prefetch" href="/docs/newbie/assets/NewbieFormDesigner.html-bd1c3f71.js" as="script"><link rel="prefetch" href="/docs/newbie/assets/NewbieList.html-ac7d0807.js" as="script"><link rel="prefetch" href="/docs/newbie/assets/NewbieModal.html-c13f0bf7.js" as="script"><link rel="prefetch" href="/docs/newbie/assets/NewbiePassword.html-dbf4a28b.js" as="script"><link rel="prefetch" href="/docs/newbie/assets/NewbieProvider.html-6128ffcc.js" as="script"><link rel="prefetch" href="/docs/newbie/assets/NewbieSearch.html-6b6c26c0.js" as="script"><link rel="prefetch" href="/docs/newbie/assets/NewbieTable.html-bc1b0a84.js" as="script"><link rel="prefetch" href="/docs/newbie/assets/NewbieUploader.html-167fed4e.js" as="script"><link rel="prefetch" href="/docs/newbie/assets/404.html-f9875e7b.js" as="script"><link rel="prefetch" href="/docs/newbie/assets/index.html-3ebf1ebb.js" as="script"><link rel="prefetch" href="/docs/newbie/assets/NewbieAddress.html-e037374a.js" as="script"><link rel="prefetch" href="/docs/newbie/assets/NewbieButton.html-3aa8b13d.js" as="script"><link rel="prefetch" href="/docs/newbie/assets/NewbieForm.html-15d8c6f5.js" as="script"><link rel="prefetch" href="/docs/newbie/assets/NewbieEditor.html-40504152.js" as="script"><link rel="prefetch" href="/docs/newbie/assets/NewbieFormDesigner.html-bf519d6d.js" as="script"><link rel="prefetch" href="/docs/newbie/assets/NewbieList.html-2d0e9567.js" as="script"><link rel="prefetch" href="/docs/newbie/assets/NewbieModal.html-fa7e4778.js" as="script"><link rel="prefetch" href="/docs/newbie/assets/NewbiePassword.html-3086c803.js" as="script"><link rel="prefetch" href="/docs/newbie/assets/NewbieProvider.html-3069b4d1.js" as="script"><link rel="prefetch" href="/docs/newbie/assets/NewbieSearch.html-254febfb.js" as="script"><link rel="prefetch" href="/docs/newbie/assets/NewbieTable.html-0807cb3d.js" as="script"><link rel="prefetch" href="/docs/newbie/assets/NewbieUploader.html-bd5b6c5d.js" as="script"><link rel="prefetch" href="/docs/newbie/assets/404.html-28bdd61b.js" as="script">
</head>
<body>
<div id="app"><!--[--><div class="theme-container"><!--[--><header class="navbar"><div class="toggle-sidebar-button" title="toggle sidebar" aria-expanded="false" role="button" tabindex="0"><div class="icon" aria-hidden="true"><span></span><span></span><span></span></div></div><span><a href="/docs/newbie/" class=""><!----><span class="site-name">Newbie Component</span></a></span><div class="navbar-items-wrapper" style=""><!--[--><!--]--><nav class="navbar-items can-hide"><!--[--><div class="navbar-item"><a href="/docs/newbie/" class="" aria-label="首页"><!--[--><!--]--> 首页 <!--[--><!--]--></a></div><div class="navbar-item"><div class="navbar-dropdown-wrapper"><button class="navbar-dropdown-title" type="button" aria-label="组件"><span class="title">组件</span><span class="arrow down"></span></button><button class="navbar-dropdown-title-mobile" type="button" aria-label="组件"><span class="title">组件</span><span class="right arrow"></span></button><ul style="display:none;" class="navbar-dropdown"><!--[--><li class="navbar-dropdown-item"><a href="/docs/newbie/components/address/NewbieAddress" class="" aria-label="NewbieAddress"><!--[--><!--]--> NewbieAddress <!--[--><!--]--></a></li><li class="navbar-dropdown-item"><a href="/docs/newbie/components/button/NewbieButton" class="" aria-label="NewbieButton"><!--[--><!--]--> NewbieButton <!--[--><!--]--></a></li><li class="navbar-dropdown-item"><a href="/docs/newbie/components/editor/NewbieEditor" class="" aria-label="NewbieEditor"><!--[--><!--]--> NewbieEditor <!--[--><!--]--></a></li><li class="navbar-dropdown-item"><a href="/docs/newbie/components/form/NewbieForm" class="" aria-label="NewbieForm"><!--[--><!--]--> NewbieForm <!--[--><!--]--></a></li><li class="navbar-dropdown-item"><a href="/docs/newbie/components/form-designer/NewbieFormDesigner" class="" aria-label="NewbieFormDesigner"><!--[--><!--]--> NewbieFormDesigner <!--[--><!--]--></a></li><li class="navbar-dropdown-item"><a href="/docs/newbie/components/list/NewbieList" class="" aria-label="NewbieList"><!--[--><!--]--> NewbieList <!--[--><!--]--></a></li><li class="navbar-dropdown-item"><a href="/docs/newbie/components/modal/NewbieModal" class="" aria-label="NewbieModal"><!--[--><!--]--> NewbieModal <!--[--><!--]--></a></li><li class="navbar-dropdown-item"><a href="/docs/newbie/components/password/NewbiePassword" class="" aria-label="NewbiePassword"><!--[--><!--]--> NewbiePassword <!--[--><!--]--></a></li><li class="navbar-dropdown-item"><a href="/docs/newbie/components/provider/NewbieProvider" class="" aria-label="NewbieProvider"><!--[--><!--]--> NewbieProvider <!--[--><!--]--></a></li><li class="navbar-dropdown-item"><a href="/docs/newbie/components/search/NewbieSearch" class="" aria-label="NewbieSearch"><!--[--><!--]--> NewbieSearch <!--[--><!--]--></a></li><li class="navbar-dropdown-item"><a href="/docs/newbie/components/table/NewbieTable" class="" aria-label="NewbieTable"><!--[--><!--]--> NewbieTable <!--[--><!--]--></a></li><li class="navbar-dropdown-item"><a href="/docs/newbie/components/uploader/NewbieUploader" class="" aria-label="NewbieUploader"><!--[--><!--]--> NewbieUploader <!--[--><!--]--></a></li><!--]--></ul></div></div><div class="navbar-item"><a href="/docs/newbie/hooks" class="router-link-active" aria-label="组合式 API"><!--[--><!--]--> 组合式 API <!--[--><!--]--></a></div><!--]--></nav><!--[--><!--]--><button class="toggle-color-mode-button" title="toggle color mode"><svg style="" class="icon" focusable="false" viewBox="0 0 32 32"><path d="M16 12.005a4 4 0 1 1-4 4a4.005 4.005 0 0 1 4-4m0-2a6 6 0 1 0 6 6a6 6 0 0 0-6-6z" fill="currentColor"></path><path d="M5.394 6.813l1.414-1.415l3.506 3.506L8.9 10.318z" fill="currentColor"></path><path d="M2 15.005h5v2H2z" fill="currentColor"></path><path d="M5.394 25.197L8.9 21.691l1.414 1.415l-3.506 3.505z" fill="currentColor"></path><path d="M15 25.005h2v5h-2z" fill="currentColor"></path><path d="M21.687 23.106l1.414-1.415l3.506 3.506l-1.414 1.414z" fill="currentColor"></path><path d="M25 15.005h5v2h-5z" fill="currentColor"></path><path d="M21.687 8.904l3.506-3.506l1.414 1.415l-3.506 3.505z" fill="currentColor"></path><path d="M15 2.005h2v5h-2z" fill="currentColor"></path></svg><svg style="display:none;" class="icon" focusable="false" viewBox="0 0 32 32"><path d="M13.502 5.414a15.075 15.075 0 0 0 11.594 18.194a11.113 11.113 0 0 1-7.975 3.39c-.138 0-.278.005-.418 0a11.094 11.094 0 0 1-3.2-21.584M14.98 3a1.002 1.002 0 0 0-.175.016a13.096 13.096 0 0 0 1.825 25.981c.164.006.328 0 .49 0a13.072 13.072 0 0 0 10.703-5.555a1.01 1.01 0 0 0-.783-1.565A13.08 13.08 0 0 1 15.89 4.38A1.015 1.015 0 0 0 14.98 3z" fill="currentColor"></path></svg></button><!----></div></header><!--]--><div class="sidebar-mask"></div><!--[--><aside class="sidebar"><nav class="navbar-items"><!--[--><div class="navbar-item"><a href="/docs/newbie/" class="" aria-label="首页"><!--[--><!--]--> 首页 <!--[--><!--]--></a></div><div class="navbar-item"><div class="navbar-dropdown-wrapper"><button class="navbar-dropdown-title" type="button" aria-label="组件"><span class="title">组件</span><span class="arrow down"></span></button><button class="navbar-dropdown-title-mobile" type="button" aria-label="组件"><span class="title">组件</span><span class="right arrow"></span></button><ul style="display:none;" class="navbar-dropdown"><!--[--><li class="navbar-dropdown-item"><a href="/docs/newbie/components/address/NewbieAddress" class="" aria-label="NewbieAddress"><!--[--><!--]--> NewbieAddress <!--[--><!--]--></a></li><li class="navbar-dropdown-item"><a href="/docs/newbie/components/button/NewbieButton" class="" aria-label="NewbieButton"><!--[--><!--]--> NewbieButton <!--[--><!--]--></a></li><li class="navbar-dropdown-item"><a href="/docs/newbie/components/editor/NewbieEditor" class="" aria-label="NewbieEditor"><!--[--><!--]--> NewbieEditor <!--[--><!--]--></a></li><li class="navbar-dropdown-item"><a href="/docs/newbie/components/form/NewbieForm" class="" aria-label="NewbieForm"><!--[--><!--]--> NewbieForm <!--[--><!--]--></a></li><li class="navbar-dropdown-item"><a href="/docs/newbie/components/form-designer/NewbieFormDesigner" class="" aria-label="NewbieFormDesigner"><!--[--><!--]--> NewbieFormDesigner <!--[--><!--]--></a></li><li class="navbar-dropdown-item"><a href="/docs/newbie/components/list/NewbieList" class="" aria-label="NewbieList"><!--[--><!--]--> NewbieList <!--[--><!--]--></a></li><li class="navbar-dropdown-item"><a href="/docs/newbie/components/modal/NewbieModal" class="" aria-label="NewbieModal"><!--[--><!--]--> NewbieModal <!--[--><!--]--></a></li><li class="navbar-dropdown-item"><a href="/docs/newbie/components/password/NewbiePassword" class="" aria-label="NewbiePassword"><!--[--><!--]--> NewbiePassword <!--[--><!--]--></a></li><li class="navbar-dropdown-item"><a href="/docs/newbie/components/provider/NewbieProvider" class="" aria-label="NewbieProvider"><!--[--><!--]--> NewbieProvider <!--[--><!--]--></a></li><li class="navbar-dropdown-item"><a href="/docs/newbie/components/search/NewbieSearch" class="" aria-label="NewbieSearch"><!--[--><!--]--> NewbieSearch <!--[--><!--]--></a></li><li class="navbar-dropdown-item"><a href="/docs/newbie/components/table/NewbieTable" class="" aria-label="NewbieTable"><!--[--><!--]--> NewbieTable <!--[--><!--]--></a></li><li class="navbar-dropdown-item"><a href="/docs/newbie/components/uploader/NewbieUploader" class="" aria-label="NewbieUploader"><!--[--><!--]--> NewbieUploader <!--[--><!--]--></a></li><!--]--></ul></div></div><div class="navbar-item"><a href="/docs/newbie/hooks" class="router-link-active" aria-label="组合式 API"><!--[--><!--]--> 组合式 API <!--[--><!--]--></a></div><!--]--></nav><!--[--><!--]--><ul class="sidebar-items"><!--[--><li><p tabindex="0" class="sidebar-item sidebar-heading"> <!----></p><ul style="" class="sidebar-item-children"><!--[--><li><a aria-current="page" href="/docs/newbie/hooks.html#modules" class="router-link-active router-link-exact-active sidebar-item" aria-label="Modules"><!--[--><!--]--> Modules <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/docs/newbie/hooks.html#cipher" class="router-link-active router-link-exact-active sidebar-item" aria-label="Cipher"><!--[--><!--]--> Cipher <!--[--><!--]--></a><ul style="" class="sidebar-item-children"><!--[--><li><a aria-current="page" href="/docs/newbie/hooks.html#cipher-usesm2" class="router-link-active router-link-exact-active sidebar-item" aria-label="Cipher.useSm2()"><!--[--><!--]--> Cipher.useSm2() <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/docs/newbie/hooks.html#cipher-usesm3-msg-options-⇒" class="router-link-active router-link-exact-active sidebar-item" aria-label="Cipher.useSm3(msg, [options]) ⇒ *"><!--[--><!--]--> Cipher.useSm3(msg, [options]) ⇒ * <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/docs/newbie/hooks.html#cipher-usesm4encrypt-msg-key-options-⇒-uint8array" class="router-link-active router-link-exact-active sidebar-item" aria-label="Cipher.useSm4Encrypt(msg, key, [options]) ⇒ Uint8Array"><!--[--><!--]--> Cipher.useSm4Encrypt(msg, key, [options]) ⇒ Uint8Array <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/docs/newbie/hooks.html#cipher-usesm4decrypt-encryptdata-key-options-⇒-uint8array" class="router-link-active router-link-exact-active sidebar-item" aria-label="Cipher.useSm4Decrypt(encryptData, key, [options]) ⇒ Uint8Array"><!--[--><!--]--> Cipher.useSm4Decrypt(encryptData, key, [options]) ⇒ Uint8Array <!--[--><!--]--></a><!----></li><!--]--></ul></li><li><a aria-current="page" href="/docs/newbie/hooks.html#datetime" class="router-link-active router-link-exact-active sidebar-item" aria-label="Datetime"><!--[--><!--]--> Datetime <!--[--><!--]--></a><ul style="" class="sidebar-item-children"><!--[--><li><a aria-current="page" href="/docs/newbie/hooks.html#datetime-usedayjs-date-format-⇒-dayjs-dayjs" class="router-link-active router-link-exact-active sidebar-item" aria-label="Datetime.useDayjs(date, [format]) ⇒ dayjs.Dayjs"><!--[--><!--]--> Datetime.useDayjs(date, [format]) ⇒ dayjs.Dayjs <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/docs/newbie/hooks.html#datetime-usedateformat-date-format-⇒-string" class="router-link-active router-link-exact-active sidebar-item" aria-label="Datetime.useDateFormat(date, [format]) ⇒ string"><!--[--><!--]--> Datetime.useDateFormat(date, [format]) ⇒ string <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/docs/newbie/hooks.html#datetime-usedateunix-date-⇒-number-string" class="router-link-active router-link-exact-active sidebar-item" aria-label="Datetime.useDateUnix(date) ⇒ number | string"><!--[--><!--]--> Datetime.useDateUnix(date) ⇒ number | string <!--[--><!--]--></a><!----></li><!--]--></ul></li><li><a aria-current="page" href="/docs/newbie/hooks.html#form" class="router-link-active router-link-exact-active sidebar-item" aria-label="Form"><!--[--><!--]--> Form <!--[--><!--]--></a><ul style="" class="sidebar-item-children"><!--[--><li><a aria-current="page" href="/docs/newbie/hooks.html#form-formlabel" class="router-link-active router-link-exact-active sidebar-item" aria-label="Form.formLabel"><!--[--><!--]--> Form.formLabel <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/docs/newbie/hooks.html#form-usehiddenform-options-⇒-htmlformelement" class="router-link-active router-link-exact-active sidebar-item" aria-label="Form.useHiddenForm(options) ⇒ HTMLFormElement"><!--[--><!--]--> Form.useHiddenForm(options) ⇒ HTMLFormElement <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/docs/newbie/hooks.html#form-useprocessstatus-res-ops" class="router-link-active router-link-exact-active sidebar-item" aria-label="Form.useProcessStatus(res, ops)"><!--[--><!--]--> Form.useProcessStatus(res, ops) <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/docs/newbie/hooks.html#form-useprocessstatussuccess-res-success" class="router-link-active router-link-exact-active sidebar-item" aria-label="Form.useProcessStatusSuccess(res, success)"><!--[--><!--]--> Form.useProcessStatusSuccess(res, success) <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/docs/newbie/hooks.html#form-useformfail-e" class="router-link-active router-link-exact-active sidebar-item" aria-label="Form.useFormFail(e)"><!--[--><!--]--> Form.useFormFail(e) <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/docs/newbie/hooks.html#form-useformformat-form-format-⇒-object" class="router-link-active router-link-exact-active sidebar-item" aria-label="Form.useFormFormat(form, [format]) ⇒ Object"><!--[--><!--]--> Form.useFormFormat(form, [format]) ⇒ Object <!--[--><!--]--></a><!----></li><!--]--></ul></li><li><a aria-current="page" href="/docs/newbie/hooks.html#interact" class="router-link-active router-link-exact-active sidebar-item" aria-label="Interact"><!--[--><!--]--> Interact <!--[--><!--]--></a><ul style="" class="sidebar-item-children"><!--[--><li><a aria-current="page" href="/docs/newbie/hooks.html#interact-usemodalconfirm-msg-onok-loading-oncancel-⇒" class="router-link-active router-link-exact-active sidebar-item" aria-label="Interact.useModalConfirm(msg, [onOk], [loading], [onCancel]) ⇒ *"><!--[--><!--]--> Interact.useModalConfirm(msg, [onOk], [loading], [onCancel]) ⇒ * <!--[--><!--]--></a><!----></li><!--]--></ul></li><li><a aria-current="page" href="/docs/newbie/hooks.html#network" class="router-link-active router-link-exact-active sidebar-item" aria-label="Network"><!--[--><!--]--> Network <!--[--><!--]--></a><ul style="" class="sidebar-item-children"><!--[--><li><a aria-current="page" href="/docs/newbie/hooks.html#network-status" class="router-link-active router-link-exact-active sidebar-item" aria-label="Network.STATUS"><!--[--><!--]--> Network.STATUS <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/docs/newbie/hooks.html#network-usefetch-fetcher-⇒-object" class="router-link-active router-link-exact-active sidebar-item" aria-label="Network.useFetch([fetcher]) ⇒ Object"><!--[--><!--]--> Network.useFetch([fetcher]) ⇒ Object <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/docs/newbie/hooks.html#network-usepage-pagination-refresh-process-⇒-object" class="router-link-active router-link-exact-active sidebar-item" aria-label="Network.usePage(pagination, refresh, [process]) ⇒ object"><!--[--><!--]--> Network.usePage(pagination, refresh, [process]) ⇒ object <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/docs/newbie/hooks.html#network-get-url-config-⇒-promise" class="router-link-active router-link-exact-active sidebar-item" aria-label="Network~get(url, [config]) ⇒ Promise"><!--[--><!--]--> Network~get(url, [config]) ⇒ Promise <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/docs/newbie/hooks.html#network-post-url-data-config-⇒-promise" class="router-link-active router-link-exact-active sidebar-item" aria-label="Network~post(url, data, [config]) ⇒ Promise"><!--[--><!--]--> Network~post(url, data, [config]) ⇒ Promise <!--[--><!--]--></a><!----></li><!--]--></ul></li><li><a aria-current="page" href="/docs/newbie/hooks.html#uitls" class="router-link-active router-link-exact-active sidebar-item" aria-label="Uitls"><!--[--><!--]--> Uitls <!--[--><!--]--></a><ul style="" class="sidebar-item-children"><!--[--><li><a aria-current="page" href="/docs/newbie/hooks.html#uitls-uselabelfromoptionsvalue-value-options-⇒-string" class="router-link-active router-link-exact-active sidebar-item" aria-label="Uitls.useLabelFromOptionsValue(value, options) ⇒ string"><!--[--><!--]--> Uitls.useLabelFromOptionsValue(value, options) ⇒ string <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/docs/newbie/hooks.html#uitls-usefindlabelsinvalues-options-values-adapter-⇒" class="router-link-active router-link-exact-active sidebar-item" aria-label="Uitls.useFindLabelsInValues(options, values, [adapter]) ⇒"><!--[--><!--]--> Uitls.useFindLabelsInValues(options, values, [adapter]) ⇒ <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/docs/newbie/hooks.html#uitls-usefindlabelsfrompath-options-path-adapter-⇒" class="router-link-active router-link-exact-active sidebar-item" aria-label="Uitls.useFindLabelsFromPath(options, path, [adapter]) ⇒"><!--[--><!--]--> Uitls.useFindLabelsFromPath(options, path, [adapter]) ⇒ <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/docs/newbie/hooks.html#uitls-usefindparentlabels-options-value-adapter-⇒" class="router-link-active router-link-exact-active sidebar-item" aria-label="Uitls.useFindParentLabels(options, value, adapter) ⇒ *"><!--[--><!--]--> Uitls.useFindParentLabels(options, value, adapter) ⇒ * <!--[--><!--]--></a><!----></li><li><a aria-current="page" href="/docs/newbie/hooks.html#uitls-usefindparentvalues-options-value-adapter-⇒" class="router-link-active router-link-exact-active sidebar-item" aria-label="Uitls.useFindParentValues(options, value, adapter) ⇒ *"><!--[--><!--]--> Uitls.useFindParentValues(options, value, adapter) ⇒ * <!--[--><!--]--></a><!----></li><!--]--></ul></li><!--]--></ul></li><!--]--></ul><!--[--><!--]--></aside><!--]--><!--[--><main class="page"><!--[--><!--]--><div class="theme-default-content"><!--[--><!--]--><div><h2 id="modules" tabindex="-1"><a class="header-anchor" href="#modules" aria-hidden="true">#</a> Modules</h2><dl><dt><a href="#module_Cipher">Cipher</a></dt><dd></dd><dt><a href="#module_Datetime">Datetime</a></dt><dd></dd><dt><a href="#module_Form">Form</a></dt><dd></dd><dt><a href="#module_Interact">Interact</a></dt><dd></dd><dt><a href="#module_Network">Network</a></dt><dd></dd><dt><a href="#module_Uitls">Uitls</a></dt><dd></dd></dl><p><a name="module_Cipher"></a></p><h2 id="cipher" tabindex="-1"><a class="header-anchor" href="#cipher" aria-hidden="true">#</a> Cipher</h2><ul><li><a href="#module_Cipher">Cipher</a><ul><li><a href="#module_Cipher.useSm2">.useSm2()</a></li><li><a href="#module_Cipher.useSm3">.useSm3(msg, [options])</a> ⇒ <code>*</code></li><li><a href="#module_Cipher.useSm4Encrypt">.useSm4Encrypt(msg, key, [options])</a> ⇒ <code>Uint8Array</code></li><li><a href="#module_Cipher.useSm4Decrypt">.useSm4Decrypt(encryptData, key, [options])</a> ⇒ <code>Uint8Array</code></li></ul></li></ul><p><a name="module_Cipher.useSm2"></a></p><h3 id="cipher-usesm2" tabindex="-1"><a class="header-anchor" href="#cipher-usesm2" aria-hidden="true">#</a> Cipher.useSm2()</h3><p>国密 sm2</p><p><strong>Kind</strong>: static method of <a href="#module_Cipher"><code>Cipher</code></a><br><a name="module_Cipher.useSm3"></a></p><h3 id="cipher-usesm3-msg-options-⇒" tabindex="-1"><a class="header-anchor" href="#cipher-usesm3-msg-options-⇒" aria-hidden="true">#</a> Cipher.useSm3(msg, [options]) ⇒ <code>*</code></h3><p>国密 sm3 加密</p><p><strong>Kind</strong>: static method of <a href="#module_Cipher"><code>Cipher</code></a></p><table><thead><tr><th>Param</th><th>Type</th><th>Default</th><th>Description</th></tr></thead><tbody><tr><td>msg</td><td><code>string</code></td><td></td><td>密码信息</td></tr><tr><td>[options]</td><td><code>Object</code></td><td><code>{}</code></td><td></td></tr></tbody></table><p><a name="module_Cipher.useSm4Encrypt"></a></p><h3 id="cipher-usesm4encrypt-msg-key-options-⇒-uint8array" tabindex="-1"><a class="header-anchor" href="#cipher-usesm4encrypt-msg-key-options-⇒-uint8array" aria-hidden="true">#</a> Cipher.useSm4Encrypt(msg, key, [options]) ⇒ <code>Uint8Array</code></h3><p>国密 sm4 加密</p><p><strong>Kind</strong>: static method of <a href="#module_Cipher"><code>Cipher</code></a></p><table><thead><tr><th>Param</th><th>Type</th><th>Default</th><th>Description</th></tr></thead><tbody><tr><td>msg</td><td><code>string</code></td><td></td><td>密码信息</td></tr><tr><td>key</td><td><code>string</code></td><td></td><td>秘钥</td></tr><tr><td>[options]</td><td><code>Object</code></td><td><code>{}</code></td><td></td></tr></tbody></table><p><a name="module_Cipher.useSm4Decrypt"></a></p><h3 id="cipher-usesm4decrypt-encryptdata-key-options-⇒-uint8array" tabindex="-1"><a class="header-anchor" href="#cipher-usesm4decrypt-encryptdata-key-options-⇒-uint8array" aria-hidden="true">#</a> Cipher.useSm4Decrypt(encryptData, key, [options]) ⇒ <code>Uint8Array</code></h3><p>国密 sm4 解密</p><p><strong>Kind</strong>: static method of <a href="#module_Cipher"><code>Cipher</code></a></p><table><thead><tr><th>Param</th><th>Type</th><th>Default</th><th>Description</th></tr></thead><tbody><tr><td>encryptData</td><td><code>string</code></td><td></td><td>加密信息</td></tr><tr><td>key</td><td><code>string</code></td><td></td><td>秘钥</td></tr><tr><td>[options]</td><td><code>Object</code></td><td><code>{}</code></td><td></td></tr></tbody></table><p><a name="module_Datetime"></a></p><h2 id="datetime" tabindex="-1"><a class="header-anchor" href="#datetime" aria-hidden="true">#</a> Datetime</h2><ul><li><a href="#module_Datetime">Datetime</a><ul><li><a href="#module_Datetime.useDayjs">.useDayjs(date, [format])</a> ⇒ <code>dayjs.Dayjs</code></li><li><a href="#module_Datetime.useDateFormat">.useDateFormat(date, [format])</a> ⇒ <code>string</code></li><li><a href="#module_Datetime.useDateUnix">.useDateUnix(date)</a> ⇒ <code>number</code> | <code>string</code></li></ul></li></ul><p><a name="module_Datetime.useDayjs"></a></p><h3 id="datetime-usedayjs-date-format-⇒-dayjs-dayjs" tabindex="-1"><a class="header-anchor" href="#datetime-usedayjs-date-format-⇒-dayjs-dayjs" aria-hidden="true">#</a> Datetime.useDayjs(date, [format]) ⇒ <code>dayjs.Dayjs</code></h3><p>根据格式创建 Dayjs 对象</p><p><strong>Kind</strong>: static method of <a href="#module_Datetime"><code>Datetime</code></a></p><table><thead><tr><th>Param</th><th>Type</th><th>Default</th><th>Description</th></tr></thead><tbody><tr><td>date</td><td><code>string</code> | <code>number</code></td><td></td><td>日期字符</td></tr><tr><td>[format]</td><td><code>string</code></td><td><code>null</code></td><td>日期格式</td></tr></tbody></table><p><a name="module_Datetime.useDateFormat"></a></p><h3 id="datetime-usedateformat-date-format-⇒-string" tabindex="-1"><a class="header-anchor" href="#datetime-usedateformat-date-format-⇒-string" aria-hidden="true">#</a> Datetime.useDateFormat(date, [format]) ⇒ <code>string</code></h3><p>格式化日期</p><p><strong>Kind</strong>: static method of <a href="#module_Datetime"><code>Datetime</code></a></p><table><thead><tr><th>Param</th><th>Type</th><th>Default</th><th>Description</th></tr></thead><tbody><tr><td>date</td><td><code>dayjs.Dayjs</code> | <code>Date</code></td><td></td><td>日期对象</td></tr><tr><td>[format]</td><td><code>string</code></td><td><code>"YYYY-MM-DD HH:mm"</code></td><td>日期格式</td></tr></tbody></table><p><a name="module_Datetime.useDateUnix"></a></p><h3 id="datetime-usedateunix-date-⇒-number-string" tabindex="-1"><a class="header-anchor" href="#datetime-usedateunix-date-⇒-number-string" aria-hidden="true">#</a> Datetime.useDateUnix(date) ⇒ <code>number</code> | <code>string</code></h3><p>获取日期的 Unix 时间戳</p><p><strong>Kind</strong>: static method of <a href="#module_Datetime"><code>Datetime</code></a></p><table><thead><tr><th>Param</th><th>Type</th><th>Description</th></tr></thead><tbody><tr><td>date</td><td><code>dayjs.Dayjs</code> | <code>Date</code></td><td>日期对象</td></tr></tbody></table><p><a name="module_Form"></a></p><h2 id="form" tabindex="-1"><a class="header-anchor" href="#form" aria-hidden="true">#</a> Form</h2><ul><li><a href="#module_Form">Form</a><ul><li><a href="#module_Form.formLabel">.formLabel</a></li><li><a href="#module_Form.useHiddenForm">.useHiddenForm(options)</a> ⇒ <code>HTMLFormElement</code></li><li><a href="#module_Form.useProcessStatus">.useProcessStatus(res, ops)</a></li><li><a href="#module_Form.useProcessStatusSuccess">.useProcessStatusSuccess(res, success)</a></li><li><a href="#module_Form.useFormFail">.useFormFail(e)</a></li><li><a href="#module_Form.useFormFormat">.useFormFormat(form, [format])</a> ⇒ <code>Object</code></li></ul></li></ul><p><a name="module_Form.formLabel"></a></p><h3 id="form-formlabel" tabindex="-1"><a class="header-anchor" href="#form-formlabel" aria-hidden="true">#</a> Form.formLabel</h3><p>表单布局</p><p><strong>Kind</strong>: static constant of <a href="#module_Form"><code>Form</code></a><br><strong>Properties</strong></p><table><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tbody><tr><td>formLabel.commonLabelCol</td><td><code>Object</code></td><td><code>{ span: 8, xxl: 6 }</code></td></tr><tr><td>formLabel.commonWrapperCol</td><td><code>Object</code></td><td><code>{ span: 12, xxl: 14 }</code></td></tr><tr><td>formLabel.commonWrapperOffset</td><td><code>Object</code></td><td><code>{ xs: { offset: 8, span: 12 }, xxl: { offset: 6, span: 14 } }</code></td></tr><tr><td>formLabel.commonLabelFullCol</td><td><code>Object</code></td><td><code>{ span: 8, xxl: 6 }</code></td></tr><tr><td>formLabel.commonWrapperFullCol</td><td><code>Object</code></td><td><code>{ span: 16, xxl: 18 }</code></td></tr><tr><td>formLabel.commonWrapperFullOffset</td><td><code>Object</code></td><td><code>{ xs: { offset: 8, span: 16 }, xxl: { offset: 6, span: 18 } }</code></td></tr><tr><td>formLabel.commonLabelPartCol</td><td><code>Object</code></td><td><code>{ span: 4, xxl: 3 }</code></td></tr><tr><td>formLabel.commonWrapperPartCol</td><td><code>Object</code></td><td><code>{ span: 20, xxl: 21 }</code></td></tr><tr><td>formLabel.commonWrapperPartOffset</td><td><code>Object</code></td><td><code>{ xs: { offset: 4, span: 20 }, xxl: { offset: 3, span: 21 } }</code></td></tr></tbody></table><p><a name="module_Form.useHiddenForm"></a></p><h3 id="form-usehiddenform-options-⇒-htmlformelement" tabindex="-1"><a class="header-anchor" href="#form-usehiddenform-options-⇒-htmlformelement" aria-hidden="true">#</a> Form.useHiddenForm(options) ⇒ <code>HTMLFormElement</code></h3><p>创建一个隐藏的表单</p><p><strong>Kind</strong>: static method of <a href="#module_Form"><code>Form</code></a></p><table><thead><tr><th>Param</th><th>Type</th><th>Default</th><th>Description</th></tr></thead><tbody><tr><td>options</td><td><code>Object</code></td><td></td><td></td></tr><tr><td>options.url</td><td><code>string</code></td><td></td><td>请求地址</td></tr><tr><td>options.data</td><td><code>Object</code></td><td></td><td>发送的数据</td></tr><tr><td>[options.method]</td><td><code>string</code></td><td><code>"post"</code></td><td>请求方法</td></tr><tr><td>[options.csrfToken]</td><td><code>string</code></td><td><code>null</code></td><td>CSRF Token</td></tr></tbody></table><p><a name="module_Form.useProcessStatus"></a></p><h3 id="form-useprocessstatus-res-ops" tabindex="-1"><a class="header-anchor" href="#form-useprocessstatus-res-ops" aria-hidden="true">#</a> Form.useProcessStatus(res, ops)</h3><p>处理请求结果</p><p><strong>Kind</strong>: static method of <a href="#module_Form"><code>Form</code></a></p><table><thead><tr><th>Param</th><th>Type</th><th>Description</th></tr></thead><tbody><tr><td>res</td><td><code>object</code></td><td>请求结果</td></tr><tr><td>res.status</td><td><code>string</code></td><td>请求结果状态</td></tr><tr><td>res.result</td><td><code>*</code></td><td>请求结果信息</td></tr><tr><td>ops</td><td><code>Object.<string, (string|function())></code></td><td>状态的处理对象</td></tr></tbody></table><p><a name="module_Form.useProcessStatusSuccess"></a></p><h3 id="form-useprocessstatussuccess-res-success" tabindex="-1"><a class="header-anchor" href="#form-useprocessstatussuccess-res-success" aria-hidden="true">#</a> Form.useProcessStatusSuccess(res, success)</h3><p>处理正确请求结果</p><p><strong>Kind</strong>: static method of <a href="#module_Form"><code>Form</code></a></p><table><thead><tr><th>Param</th><th>Type</th><th>Description</th></tr></thead><tbody><tr><td>res</td><td><code>object</code></td><td>请求结果</td></tr><tr><td>res.status</td><td><code>string</code></td><td>请求结果状态</td></tr><tr><td>res.result</td><td><code>*</code></td><td>请求结果信息</td></tr><tr><td>success</td><td><code>string</code> | <code>function</code></td><td>状态的处理对象</td></tr></tbody></table><p><a name="module_Form.useFormFail"></a></p><h3 id="form-useformfail-e" tabindex="-1"><a class="header-anchor" href="#form-useformfail-e" aria-hidden="true">#</a> Form.useFormFail(e)</h3><p>处理表单提交失败</p><p><strong>Kind</strong>: static method of <a href="#module_Form"><code>Form</code></a></p><table><thead><tr><th>Param</th><th>Type</th></tr></thead><tbody><tr><td>e</td><td><code>*</code></td></tr></tbody></table><p><a name="module_Form.useFormFormat"></a></p><h3 id="form-useformformat-form-format-⇒-object" tabindex="-1"><a class="header-anchor" href="#form-useformformat-form-format-⇒-object" aria-hidden="true">#</a> Form.useFormFormat(form, [format]) ⇒ <code>Object</code></h3><p>处理表单数据</p><p><strong>Kind</strong>: static method of <a href="#module_Form"><code>Form</code></a></p><table><thead><tr><th>Param</th><th>Type</th><th>Description</th></tr></thead><tbody><tr><td>form</td><td><code>Object</code></td><td></td></tr><tr><td>[format]</td><td><code>Object</code></td><td>需要处理的类型</td></tr><tr><td>[format.date]</td><td><code>boolean</code> | <code>string</code> | <code>function</code></td><td><code>true</code>: 转成时间戳,<code>string</code>: 为 Format 格式, 如 <code>"YYYY-MM-DD"</code>, <code>function</code>: 自定义处理函数, 参数为 dayjs 对象</td></tr><tr><td>[format.boolean]</td><td><code>boolean</code></td><td>布尔值处理, 如果开启则 <code>true</code> 转成 1, <code>false</code> 转成 0</td></tr><tr><td>[format.attachment]</td><td><code>string</code> | <code>function</code></td><td><code>string</code>: 附件字段名, <code>function</code>: 自定义处理函数, 参数为附件对象</td></tr></tbody></table><p><a name="module_Interact"></a></p><h2 id="interact" tabindex="-1"><a class="header-anchor" href="#interact" aria-hidden="true">#</a> Interact</h2><p><a name="module_Interact.useModalConfirm"></a></p><h3 id="interact-usemodalconfirm-msg-onok-loading-oncancel-⇒" tabindex="-1"><a class="header-anchor" href="#interact-usemodalconfirm-msg-onok-loading-oncancel-⇒" aria-hidden="true">#</a> Interact.useModalConfirm(msg, [onOk], [loading], [onCancel]) ⇒ <code>*</code></h3><p>确认弹窗</p><p><strong>Kind</strong>: static method of <a href="#module_Interact"><code>Interact</code></a></p><table><thead><tr><th>Param</th><th>Type</th><th>Default</th><th>Description</th></tr></thead><tbody><tr><td>msg</td><td><code>string</code></td><td></td><td>提示信息</td></tr><tr><td>[onOk]</td><td><code>function</code></td><td><code></code></td><td>确认回调</td></tr><tr><td>[loading]</td><td><code>boolean</code></td><td><code>false</code></td><td>是否异步加载</td></tr><tr><td>[onCancel]</td><td><code>function</code></td><td><code></code></td><td>取消回调</td></tr></tbody></table><p><a name="module_Network"></a></p><h2 id="network" tabindex="-1"><a class="header-anchor" href="#network" aria-hidden="true">#</a> Network</h2><ul><li><a href="#module_Network">Network</a><ul><li><em>static</em><ul><li><a href="#module_Network.STATUS">.STATUS</a></li><li><a href="#module_Network.useFetch">.useFetch([fetcher])</a> ⇒ <code>Object</code></li><li><a href="#module_Network.usePage">.usePage(pagination, refresh, [process])</a> ⇒ <code>object</code></li></ul></li><li><em>inner</em><ul><li><a href="#module_Network..get">~get(url, [config])</a> ⇒ <code>Promise</code></li><li><a href="#module_Network..post">~post(url, data, [config])</a> ⇒ <code>Promise</code></li></ul></li></ul></li></ul><p><a name="module_Network.STATUS"></a></p><h3 id="network-status" tabindex="-1"><a class="header-anchor" href="#network-status" aria-hidden="true">#</a> Network.STATUS</h3><p>请求返回状态码</p><p><strong>Kind</strong>: static constant of <a href="#module_Network"><code>Network</code></a><br><strong>Properties</strong></p><table><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tbody><tr><td>STATUS.STATE_CODE_SUCCESS</td><td><code>string</code></td><td><code>SUCCESS</code> 成功</td></tr><tr><td>STATUS.STATE_CODE_FAIL</td><td><code>string</code></td><td><code>FAIL</code> 失败</td></tr><tr><td>STATUS.STATE_CODE_NOT_FOUND</td><td><code>string</code></td><td><code>NOT_FOUND</code> 找不到资源</td></tr><tr><td>STATUS.STATE_CODE_INFO_NOT_COMPLETE</td><td><code>string</code></td><td><code>INCOMPLETE</code> 信息不完整</td></tr><tr><td>STATUS.STATE_CODE_NOT_ALLOWED</td><td><code>string</code></td><td><code>NOT_ALLOWED</code> 无权限</td></tr></tbody></table><p><a name="module_Network.useFetch"></a></p><h3 id="network-usefetch-fetcher-⇒-object" tabindex="-1"><a class="header-anchor" href="#network-usefetch-fetcher-⇒-object" aria-hidden="true">#</a> Network.useFetch([fetcher]) ⇒ <code>Object</code></h3><p>通用 AJAX 请求</p><p><strong>Kind</strong>: static method of <a href="#module_Network"><code>Network</code></a></p><table><thead><tr><th>Param</th><th>Type</th><th>Description</th></tr></thead><tbody><tr><td>[fetcher]</td><td><code>Object</code></td><td>用于存储请求状态的对象</td></tr></tbody></table><p><a name="module_Network.usePage"></a></p><h3 id="network-usepage-pagination-refresh-process-⇒-object" tabindex="-1"><a class="header-anchor" href="#network-usepage-pagination-refresh-process-⇒-object" aria-hidden="true">#</a> Network.usePage(pagination, refresh, [process]) ⇒ <code>object</code></h3><p>分页请求</p><p><strong>Kind</strong>: static method of <a href="#module_Network"><code>Network</code></a><br><strong>Returns</strong>: <code>object</code> - pagination 分页对象</p><table><thead><tr><th>Param</th><th>Type</th><th>Description</th></tr></thead><tbody><tr><td>pagination</td><td><code>object</code></td><td>分页对象</td></tr><tr><td>pagination.uri</td><td><code>string</code></td><td>请求地址</td></tr><tr><td>[pagination.params]</td><td><code>object</code></td><td>请求参数</td></tr><tr><td>[pagination.page]</td><td><code>number</code></td><td>当前页码</td></tr><tr><td>pagination.finishedText</td><td><code>string</code></td><td>加载完毕文本</td></tr><tr><td>pagination.loading</td><td><code>boolean</code></td><td>加载状态</td></tr><tr><td>pagination.finished</td><td><code>boolean</code></td><td>加载完毕</td></tr><tr><td>pagination.error</td><td><code>boolean</code></td><td>是否错误</td></tr><tr><td>pagination.errorText</td><td><code>string</code></td><td>错误文本</td></tr><tr><td>pagination.empty</td><td><code>boolean</code></td><td>是否无内容</td></tr><tr><td>pagination.items</td><td><code>array</code></td><td>分页数据</td></tr><tr><td>refresh</td><td><code>boolean</code></td><td>是否刷新</td></tr><tr><td>[process]</td><td><code>function</code></td><td>数据处理函数</td></tr></tbody></table><p><a name="module_Network..get"></a></p><h3 id="network-get-url-config-⇒-promise" tabindex="-1"><a class="header-anchor" href="#network-get-url-config-⇒-promise" aria-hidden="true">#</a> Network~get(url, [config]) ⇒ <code>Promise</code></h3><p>get请求</p><p><strong>Kind</strong>: inner method of <a href="#module_Network"><code>Network</code></a></p><table><thead><tr><th>Param</th><th>Type</th><th>Description</th></tr></thead><tbody><tr><td>url</td><td></td><td></td></tr><tr><td>[config]</td><td><code>Object</code></td><td>axios config</td></tr></tbody></table><p><a name="module_Network..post"></a></p><h3 id="network-post-url-data-config-⇒-promise" tabindex="-1"><a class="header-anchor" href="#network-post-url-data-config-⇒-promise" aria-hidden="true">#</a> Network~post(url, data, [config]) ⇒ <code>Promise</code></h3><p>post请求</p><p><strong>Kind</strong>: inner method of <a href="#module_Network"><code>Network</code></a></p><table><thead><tr><th>Param</th><th>Type</th><th>Description</th></tr></thead><tbody><tr><td>url</td><td><code>string</code></td><td></td></tr><tr><td>data</td><td><code>Object</code></td><td></td></tr><tr><td>[config]</td><td><code>Object</code></td><td>axios config</td></tr></tbody></table><p><a name="module_Uitls"></a></p><h2 id="uitls" tabindex="-1"><a class="header-anchor" href="#uitls" aria-hidden="true">#</a> Uitls</h2><ul><li><a href="#module_Uitls">Uitls</a><ul><li><a href="#module_Uitls.useLabelFromOptionsValue">.useLabelFromOptionsValue(value, options)</a> ⇒ <code>string</code></li><li><a href="#module_Uitls.useFindLabelsInValues">.useFindLabelsInValues(options, values, [adapter])</a> ⇒</li><li><a href="#module_Uitls.useFindLabelsFromPath">.useFindLabelsFromPath(options, path, [adapter])</a> ⇒</li><li><a href="#module_Uitls.useFindParentLabels">.useFindParentLabels(options, value, adapter)</a> ⇒ <code>*</code></li><li><a href="#module_Uitls.useFindParentValues">.useFindParentValues(options, value, adapter)</a> ⇒ <code>*</code></li></ul></li></ul><p><a name="module_Uitls.useLabelFromOptionsValue"></a></p><h3 id="uitls-uselabelfromoptionsvalue-value-options-⇒-string" tabindex="-1"><a class="header-anchor" href="#uitls-uselabelfromoptionsvalue-value-options-⇒-string" aria-hidden="true">#</a> Uitls.useLabelFromOptionsValue(value, options) ⇒ <code>string</code></h3><p>从 options 中根据 value 获取 label</p><p><strong>Kind</strong>: static method of <a href="#module_Uitls"><code>Uitls</code></a></p><table><thead><tr><th>Param</th><th>Type</th><th>Description</th></tr></thead><tbody><tr><td>value</td><td><code>string</code> | <code>number</code></td><td>值</td></tr><tr><td>options</td><td><code>Array</code></td><td>选项</td></tr></tbody></table><p><a name="module_Uitls.useFindLabelsInValues"></a></p><h3 id="uitls-usefindlabelsinvalues-options-values-adapter-⇒" tabindex="-1"><a class="header-anchor" href="#uitls-usefindlabelsinvalues-options-values-adapter-⇒" aria-hidden="true">#</a> Uitls.useFindLabelsInValues(options, values, [adapter]) ⇒</h3><p>从嵌套的 options 中根据 value 获取 label, 如 [1, 3] => ["东", "南"]</p><p><strong>Kind</strong>: static method of <a href="#module_Uitls"><code>Uitls</code></a><br><strong>Returns</strong>: Array</p><table><thead><tr><th>Param</th><th>Type</th><th>Default</th><th>Description</th></tr></thead><tbody><tr><td>options</td><td><code>Array</code></td><td></td><td>嵌套的选项</td></tr><tr><td>values</td><td><code>Array</code></td><td></td><td>需要查找的值</td></tr><tr><td>[adapter]</td><td><code>Object</code></td><td><code>{value: "value",label: "label",children: "children"}</code></td><td>选项适配器</td></tr></tbody></table><p><a name="module_Uitls.useFindLabelsFromPath"></a></p><h3 id="uitls-usefindlabelsfrompath-options-path-adapter-⇒" tabindex="-1"><a class="header-anchor" href="#uitls-usefindlabelsfrompath-options-path-adapter-⇒" aria-hidden="true">#</a> Uitls.useFindLabelsFromPath(options, path, [adapter]) ⇒</h3><p>从嵌套的 options 中根据 value 获取 label 路径, 如地区路径: [440000, 440100, 440113] => ["广东省", "广州市", " 番禺区"]</p><p><strong>Kind</strong>: static method of <a href="#module_Uitls"><code>Uitls</code></a><br><strong>Returns</strong>: Array</p><table><thead><tr><th>Param</th><th>Type</th><th>Default</th><th>Description</th></tr></thead><tbody><tr><td>options</td><td><code>Array</code></td><td></td><td>嵌套的选项</td></tr><tr><td>path</td><td><code>Array</code></td><td></td><td>需要查找的值的路径数组</td></tr><tr><td>[adapter]</td><td><code>Object</code></td><td><code>{value: "value",label: "label",children: "children"}</code></td><td>选项适配器</td></tr></tbody></table><p><a name="module_Uitls.useFindParentLabels"></a></p><h3 id="uitls-usefindparentlabels-options-value-adapter-⇒" tabindex="-1"><a class="header-anchor" href="#uitls-usefindparentlabels-options-value-adapter-⇒" aria-hidden="true">#</a> Uitls.useFindParentLabels(options, value, adapter) ⇒ <code>*</code></h3><p>从嵌套的 options 中根据 value 获取 label 路径, 如地区路径: 440113 => ["广东省", "广州市", " 番禺区"]</p><p><strong>Kind</strong>: static method of <a href="#module_Uitls"><code>Uitls</code></a></p><table><thead><tr><th>Param</th></tr></thead><tbody><tr><td>options</td></tr><tr><td>value</td></tr><tr><td>adapter</td></tr></tbody></table><p><a name="module_Uitls.useFindParentValues"></a></p><h3 id="uitls-usefindparentvalues-options-value-adapter-⇒" tabindex="-1"><a class="header-anchor" href="#uitls-usefindparentvalues-options-value-adapter-⇒" aria-hidden="true">#</a> Uitls.useFindParentValues(options, value, adapter) ⇒ <code>*</code></h3><p>从嵌套的 options 中根据 value 获取整个 values 路径, 如地区路径: 440113 => [440000, 440100, 440113]</p><p><strong>Kind</strong>: static method of <a href="#module_Uitls"><code>Uitls</code></a></p><table><thead><tr><th>Param</th></tr></thead><tbody><tr><td>options</td></tr><tr><td>value</td></tr><tr><td>adapter</td></tr></tbody></table></div><!--[--><!--]--></div><footer class="page-meta"><!----><div class="meta-item last-updated"><span class="meta-item-label">Last Updated: </span><!----></div><div class="meta-item contributors"><span class="meta-item-label">Contributors: </span><span class="meta-item-info"><!--[--><!--[--><span class="contributor" title="email: sinceow@163.com">sinceow</span><!----><!--]--><!--]--></span></div></footer><!----><!--[--><!--]--></main><!--]--></div><!----><!--]--></div>
<script type="module" src="/docs/newbie/assets/app-e5356031.js" defer></script>
</body>
</html>