@vtx/components 4.0.0-beta.82 → 4.0.0-beta.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -19
- package/dist/27.7e3a5587.async.js +11 -0
- package/dist/404.html +17 -0
- package/dist/4217.9f9c8f33.async.js +1 -0
- package/dist/4571.1f5588f5.async.js +5 -0
- package/dist/8238.a223befe.async.js +688 -0
- package/dist/8552.83c22540.async.js +1265 -0
- package/dist/9260.21c26210.async.js +137 -0
- package/dist/VtxColorPicker__demos.c3e03ab4.async.js +1 -0
- package/dist/VtxCombogrid__demos.81dd3d19.async.js +1 -0
- package/dist/VtxDatagrid__demos.bb6d2937.async.js +1 -0
- package/dist/VtxDescriptions__demos.c1d10744.async.js +1 -0
- package/dist/VtxEllipsisText__demos.f56d2a6b.async.js +1 -0
- package/dist/VtxExportAsync__demos.8bd5e7fc.async.js +1 -0
- package/dist/VtxExport__demos.f0c12996.async.js +1 -0
- package/dist/VtxFormLayout__demos.cbc5ebda.async.js +1 -0
- package/dist/VtxImage__demos.1c568ce3.async.js +1 -0
- package/dist/VtxImport2__demos.dd7cfbcf.async.js +1 -0
- package/dist/VtxImport__demos.1403a7a8.async.js +1 -0
- package/dist/VtxInput__demos.d1aeb2ca.async.js +1 -0
- package/dist/VtxModal__demos.c18d608e.async.js +1 -0
- package/dist/VtxPageLayout__demos.d223bf3b.async.js +1 -0
- package/dist/VtxRpsFrame__demos.3f951d24.async.js +1 -0
- package/dist/VtxScrollableRow__demos.a4859102.async.js +1 -0
- package/dist/VtxSearch__demos.7faa294b.async.js +1 -0
- package/dist/VtxSelect__demos.d6eb6d2b.async.js +1 -0
- package/dist/VtxSignature__demos.6abe7992.async.js +1 -0
- package/dist/VtxSplitPane__demos.2d21bf24.async.js +1 -0
- package/dist/VtxStatisticsColumn__demos.c466441f.async.js +1 -0
- package/dist/VtxTimePicker__demos.51ecd5f0.async.js +1 -0
- package/dist/VtxTransferSelect__demos.1e97ae79.async.js +1 -0
- package/dist/VtxTransfer__demos.18ba60b0.async.js +1 -0
- package/dist/VtxTreeSelect__demos.8ae23eb7.async.js +1 -0
- package/dist/VtxTree__demos.1ae9263d.async.js +1 -0
- package/dist/VtxUpload__demos.f8ac6088.async.js +1 -0
- package/dist/VtxWangEditor__demos.4c7f9743.async.js +1 -0
- package/dist/changelog/index.html +17 -0
- package/dist/components/index.html +17 -0
- package/dist/components/vtx-color-picker/index.html +17 -0
- package/dist/components/vtx-combogrid/index.html +17 -0
- package/dist/components/vtx-datagrid/index.html +17 -0
- package/dist/components/vtx-date-picker/index.html +17 -0
- package/dist/components/vtx-descriptions/index.html +17 -0
- package/dist/components/vtx-ellipsis-text/index.html +17 -0
- package/dist/components/vtx-export/index.html +17 -0
- package/dist/components/vtx-export-async/index.html +17 -0
- package/dist/components/vtx-form-layout/index.html +17 -0
- package/dist/components/vtx-image/index.html +17 -0
- package/dist/components/vtx-import/index.html +17 -0
- package/dist/components/vtx-import2/index.html +17 -0
- package/dist/components/vtx-input/index.html +17 -0
- package/dist/components/vtx-modal/index.html +17 -0
- package/dist/components/vtx-page-layout/index.html +17 -0
- package/dist/components/vtx-rps-frame/index.html +17 -0
- package/dist/components/vtx-scrollable-row/index.html +17 -0
- package/dist/components/vtx-search/index.html +17 -0
- package/dist/components/vtx-select/index.html +17 -0
- package/dist/components/vtx-signature/index.html +17 -0
- package/dist/components/vtx-split-pane/index.html +17 -0
- package/dist/components/vtx-statistics-column/index.html +17 -0
- package/dist/components/vtx-time-picker/index.html +17 -0
- package/dist/components/vtx-transfer/index.html +17 -0
- package/dist/components/vtx-transfer-select/index.html +17 -0
- package/dist/components/vtx-tree/index.html +17 -0
- package/dist/components/vtx-tree-select/index.html +17 -0
- package/dist/components/vtx-upload/index.html +17 -0
- package/dist/components/vtx-wang-editor/index.html +17 -0
- package/dist/demos.d31d47d3.async.js +1 -0
- package/dist/docs/api-changes/index.html +17 -0
- package/dist/docs/index.html +17 -0
- package/dist/docs/migration-guide/index.html +17 -0
- package/dist/dumi__tmp-production__dumi__theme__ContextWrapper.9bd1f529.async.js +1 -0
- package/dist/favicon.ico +0 -0
- package/dist/icon.png +0 -0
- package/dist/index.html +17 -0
- package/dist/meta__site.77f4ce5c.async.js +24576 -0
- package/dist/meta__site.cb4ba864.chunk.css +9 -0
- package/dist/meta__vtx-search.1cffc39e.async.js +5 -0
- package/dist/nm__dumi-theme-vortex-style__dist__layouts__DemoLayout__index.d38bb511.async.js +1 -0
- package/dist/nm__dumi-theme-vortex-style__dist__layouts__DocLayout__index.eec80432.chunk.css +1 -0
- package/dist/nm__dumi__dist__client__pages__404.02c0a12e.async.js +1 -0
- package/dist/nm__dumi__dist__client__pages__404.8b85f2d9.chunk.css +1 -0
- package/dist/nm__dumi__dist__client__pages__Demo__index.578aa5c0.chunk.css +1 -0
- package/dist/nm__dumi__dist__client__pages__Demo__index.ce4c974c.async.js +1 -0
- package/dist/preload_helper.91c86d97.js +1 -0
- package/dist/site__changelog.md.2004f9af.async.js +1 -0
- package/dist/site__changelog.md.33be0665.chunk.css +1 -0
- package/dist/site__components__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__index.md.4b208bce.async.js +1 -0
- package/dist/site__components__vtx-color-picker__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-color-picker__index.md.8cde38ad.async.js +1 -0
- package/dist/site__components__vtx-combogrid__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-combogrid__index.md.3a276575.async.js +19 -0
- package/dist/site__components__vtx-datagrid__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-datagrid__index.md.6b8af1e9.async.js +58 -0
- package/dist/site__components__vtx-date-picker__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-date-picker__index.md.79fe2a74.async.js +1 -0
- package/dist/site__components__vtx-descriptions__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-descriptions__index.md.581f585c.async.js +1 -0
- package/dist/site__components__vtx-ellipsis-text__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-ellipsis-text__index.md.d6064e54.async.js +1 -0
- package/dist/site__components__vtx-export-async__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-export-async__index.md.c235ace9.async.js +50 -0
- package/dist/site__components__vtx-export__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-export__index.md.54504e6f.async.js +6 -0
- package/dist/site__components__vtx-form-layout__index.md.1f1785cf.async.js +1 -0
- package/dist/site__components__vtx-form-layout__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-image__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-image__index.md.68cd709b.async.js +7 -0
- package/dist/site__components__vtx-import2__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-import2__index.md.533d4e74.async.js +22 -0
- package/dist/site__components__vtx-import__index.md.2cb1513e.async.js +17 -0
- package/dist/site__components__vtx-import__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-input__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-input__index.md.5403e1e4.async.js +1 -0
- package/dist/site__components__vtx-modal__index.md.0f8af11e.async.js +9 -0
- package/dist/site__components__vtx-modal__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-page-layout__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-page-layout__index.md.e4956ee7.async.js +1 -0
- package/dist/site__components__vtx-rps-frame__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-rps-frame__index.md.c80279df.async.js +1 -0
- package/dist/site__components__vtx-scrollable-row__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-scrollable-row__index.md.df93edc6.async.js +1 -0
- package/dist/site__components__vtx-search__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-search__index.md.d011bdaa.async.js +17 -0
- package/dist/site__components__vtx-select__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-select__index.md.de66c747.async.js +6 -0
- package/dist/site__components__vtx-signature__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-signature__index.md.b8b1093d.async.js +1 -0
- package/dist/site__components__vtx-split-pane__index.md.2163de9a.async.js +1 -0
- package/dist/site__components__vtx-split-pane__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-statistics-column__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-statistics-column__index.md.543d917f.async.js +1 -0
- package/dist/site__components__vtx-time-picker__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-time-picker__index.md.a1ef3b11.async.js +1 -0
- package/dist/site__components__vtx-transfer-select__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-transfer-select__index.md.df61e6d2.async.js +1 -0
- package/dist/site__components__vtx-transfer__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-transfer__index.md.e17f6962.async.js +1 -0
- package/dist/site__components__vtx-tree-select__index.md.2ee8c02c.async.js +1 -0
- package/dist/site__components__vtx-tree-select__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-tree__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-tree__index.md.9bd6ff74.async.js +1 -0
- package/dist/site__components__vtx-upload__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-upload__index.md.5a7d3eda.async.js +6 -0
- package/dist/site__components__vtx-wang-editor__index.md.33be0665.chunk.css +1 -0
- package/dist/site__components__vtx-wang-editor__index.md.9eb84586.async.js +7 -0
- package/dist/site__docs__api-changes.md.33be0665.chunk.css +1 -0
- package/dist/site__docs__api-changes.md.42dee6c8.async.js +6 -0
- package/dist/site__docs__index.md.33be0665.chunk.css +1 -0
- package/dist/site__docs__index.md.8e7c64da.async.js +53 -0
- package/dist/site__docs__migration-guide.md.33be0665.chunk.css +1 -0
- package/dist/site__docs__migration-guide.md.fe82d57e.async.js +194 -0
- package/dist/site__index.md.33be0665.chunk.css +1 -0
- package/dist/site__index.md.54cae2e4.async.js +1 -0
- package/dist/sitemap.xml +1 -0
- package/dist/umi.4db41586.css +1 -0
- package/dist/umi.e0925664.js +879 -0
- package/dist/vtx-search__index.md.33be0665.chunk.css +1 -0
- package/dist/vtx-search__index.md.a29f26ea.async.js +5 -0
- package/dist/~demos/site-components-vtx-date-picker-demo-demo1/index.html +17 -0
- package/dist/~demos/site-components-vtx-date-picker-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxcolorpicker-demo-base/index.html +17 -0
- package/dist/~demos/vtxcolorpicker-demo-base-form/index.html +17 -0
- package/dist/~demos/vtxcombogrid-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxcombogrid-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxcombogrid-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxcombogrid-demo-demo4/index.html +17 -0
- package/dist/~demos/vtxcombogrid-demo-demo5/index.html +17 -0
- package/dist/~demos/vtxdatagrid-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxdatagrid-demo-demo10/index.html +17 -0
- package/dist/~demos/vtxdatagrid-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxdatagrid-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxdatagrid-demo-demo4/index.html +17 -0
- package/dist/~demos/vtxdatagrid-demo-demo5/index.html +17 -0
- package/dist/~demos/vtxdatagrid-demo-demo6/index.html +17 -0
- package/dist/~demos/vtxdatagrid-demo-demo7/index.html +17 -0
- package/dist/~demos/vtxdatagrid-demo-demo8/index.html +17 -0
- package/dist/~demos/vtxdatagrid-demo-demo9/index.html +17 -0
- package/dist/~demos/vtxdescriptions-demo-base/index.html +17 -0
- package/dist/~demos/vtxdescriptions-demo-border/index.html +17 -0
- package/dist/~demos/vtxellipsistext-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxexport-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxexportasync-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxformlayout-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxformlayout-demo-demo10/index.html +17 -0
- package/dist/~demos/vtxformlayout-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxformlayout-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxformlayout-demo-demo4/index.html +17 -0
- package/dist/~demos/vtxformlayout-demo-demo5/index.html +17 -0
- package/dist/~demos/vtxformlayout-demo-demo6/index.html +17 -0
- package/dist/~demos/vtxformlayout-demo-demo7/index.html +17 -0
- package/dist/~demos/vtxformlayout-demo-demo8/index.html +17 -0
- package/dist/~demos/vtxformlayout-demo-demo9/index.html +17 -0
- package/dist/~demos/vtximage-demo-demo1/index.html +17 -0
- package/dist/~demos/vtximage-demo-demo2/index.html +17 -0
- package/dist/~demos/vtximage-demo-demo3/index.html +17 -0
- package/dist/~demos/vtximage-demo-demo4/index.html +17 -0
- package/dist/~demos/vtximport-demo-base/index.html +17 -0
- package/dist/~demos/vtximport2-demo-base/index.html +17 -0
- package/dist/~demos/vtxinput-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxinput-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxinput-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxmodal-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxmodal-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxmodal-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxpagelayout-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxpagelayout-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxpagelayout-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxpagelayout-demo-demo4/index.html +17 -0
- package/dist/~demos/vtxpagelayout-demo-demo5/index.html +17 -0
- package/dist/~demos/vtxrpsframe-demo-base/index.html +17 -0
- package/dist/~demos/vtxscrollablerow-demo-demo/index.html +17 -0
- package/dist/~demos/vtxsearch-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxsearch-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxsearch-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxsearch-demo-demo4/index.html +17 -0
- package/dist/~demos/vtxselect-demo-base/index.html +17 -0
- package/dist/~demos/vtxselect-demo-base-multiple/index.html +17 -0
- package/dist/~demos/vtxsignature-demo-demo/index.html +17 -0
- package/dist/~demos/vtxsignature-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxsplitpane-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxsplitpane-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxsplitpane-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxsplitpane-demo-demo4/index.html +17 -0
- package/dist/~demos/vtxstatisticscolumn-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxstatisticscolumn-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxstatisticscolumn-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxtimepicker-demo-base/index.html +17 -0
- package/dist/~demos/vtxtransfer-demo-base/index.html +17 -0
- package/dist/~demos/vtxtransferselect-demo-base/index.html +17 -0
- package/dist/~demos/vtxtree-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxtree-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxtree-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxtreeselect-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxtreeselect-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxtreeselect-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxtreeselect-demo-demo4/index.html +17 -0
- package/dist/~demos/vtxupload-demo-demo1/index.html +17 -0
- package/dist/~demos/vtxupload-demo-demo2/index.html +17 -0
- package/dist/~demos/vtxupload-demo-demo3/index.html +17 -0
- package/dist/~demos/vtxupload-demo-demo4/index.html +17 -0
- package/dist/~demos/vtxwangeditor-demo-demo1/index.html +17 -0
- package/es/utils/components/LabelIconTip/index.js +7 -7
- package/es/utils/conversionMomentValue/index.js +25 -25
- package/es/utils/filterSpecialCharacters.js +6 -6
- package/es/utils/genCopyable/index.js +6 -6
- package/es/utils/getFieldPropsOrFormItemProps/index.js +7 -7
- package/es/utils/hooks/useDebounceFn/index.js +4 -4
- package/es/utils/hooks/useDebounceValue/index.js +6 -6
- package/es/utils/hooks/useDeepCompareMemo/index.js +7 -7
- package/es/utils/hooks/useLatest/index.js +2 -2
- package/es/utils/hooks/useRefCallback/index.js +5 -5
- package/es/utils/isBrowser/index.js +7 -7
- package/es/utils/isUrl/index.js +4 -4
- package/es/utils/merge/index.js +4 -4
- package/es/utils/nanoid/index.js +4 -4
- package/es/utils/omitBoolean/index.js +4 -4
- package/es/utils/parseValueToMoment/index.js +4 -4
- package/es/utils/proFieldParsingText/index.js +10 -10
- package/es/utils/transformKeySubmitValue/index.js +57 -57
- package/es/utils/useEditableArray/index.js +46 -46
- package/es/utils/useEditableMap/index.js +22 -22
- package/es/utils/useMediaQuery/index.js +5 -5
- package/es/vtx-datagrid/ToolBar/components/ColumnSetting/index.js +4 -4
- package/es/vtx-datagrid/ToolBar/index.js +2 -1
- package/es/vtx-datagrid/ToolBar/style.js +6 -3
- package/es/vtx-datagrid/index.js +5 -1
- package/es/vtx-datagrid/style/index.js +9 -1
- package/es/vtx-datagrid/style/index.less +242 -242
- package/es/vtx-date-picker/style/index.less +39 -39
- package/es/vtx-export/index.js +8 -8
- package/es/vtx-icon/index.js1 +90 -90
- package/es/vtx-modal/index.js +2 -2
- package/es/vtx-modal/style/index.js +4 -2
- package/es/vtx-page-layout/Basic.js +2 -2
- package/es/vtx-page-layout/TabLayout.js +6 -6
- package/es/vtx-page-layout/TableLayout.js +10 -10
- package/es/vtx-page-layout/TreeLayout.js +6 -6
- package/es/vtx-page-layout/container.js +2 -2
- package/es/vtx-provider/index.js +30 -30
- package/es/vtx-provider/intl.js +9 -9
- package/es/vtx-provider/useStyle/index.js +17 -17
- package/es/vtx-search/style/index.js +6 -3
- package/es/vtx-wang-editor/style/index.less +12 -12
- package/lib/utils/components/LabelIconTip/index.js +7 -7
- package/lib/utils/conversionMomentValue/index.js +25 -25
- package/lib/utils/filterSpecialCharacters.js +6 -6
- package/lib/utils/genCopyable/index.js +6 -6
- package/lib/utils/getFieldPropsOrFormItemProps/index.js +7 -7
- package/lib/utils/hooks/useDebounceFn/index.js +4 -4
- package/lib/utils/hooks/useDebounceValue/index.js +6 -6
- package/lib/utils/hooks/useDeepCompareMemo/index.js +7 -7
- package/lib/utils/hooks/useLatest/index.js +2 -2
- package/lib/utils/hooks/useRefCallback/index.js +5 -5
- package/lib/utils/isBrowser/index.js +7 -7
- package/lib/utils/isUrl/index.js +4 -4
- package/lib/utils/merge/index.js +4 -4
- package/lib/utils/nanoid/index.js +4 -4
- package/lib/utils/omitBoolean/index.js +4 -4
- package/lib/utils/parseValueToMoment/index.js +4 -4
- package/lib/utils/proFieldParsingText/index.js +10 -10
- package/lib/utils/transformKeySubmitValue/index.js +57 -57
- package/lib/utils/useEditableArray/index.js +46 -46
- package/lib/utils/useEditableMap/index.js +22 -22
- package/lib/utils/useMediaQuery/index.js +5 -5
- package/lib/vtx-datagrid/ToolBar/components/ColumnSetting/index.js +4 -4
- package/lib/vtx-datagrid/ToolBar/index.js +2 -1
- package/lib/vtx-datagrid/ToolBar/style.js +6 -3
- package/lib/vtx-datagrid/index.js +5 -1
- package/lib/vtx-datagrid/style/index.js +9 -1
- package/lib/vtx-datagrid/style/index.less +242 -242
- package/lib/vtx-date-picker/style/index.less +39 -39
- package/lib/vtx-export/index.js +8 -8
- package/lib/vtx-icon/index.js1 +90 -90
- package/lib/vtx-modal/index.js +2 -2
- package/lib/vtx-modal/style/index.js +4 -2
- package/lib/vtx-page-layout/Basic.js +2 -2
- package/lib/vtx-page-layout/TabLayout.js +6 -6
- package/lib/vtx-page-layout/TableLayout.js +10 -10
- package/lib/vtx-page-layout/TreeLayout.js +6 -6
- package/lib/vtx-page-layout/container.js +2 -2
- package/lib/vtx-provider/index.js +30 -30
- package/lib/vtx-provider/intl.js +9 -9
- package/lib/vtx-provider/useStyle/index.js +17 -17
- package/lib/vtx-search/style/index.js +6 -3
- package/lib/vtx-wang-editor/style/index.less +12 -12
- package/package.json +240 -240
|
@@ -1,242 +1,242 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
@prefix-cls: vtx-datagrid;
|
|
4
|
-
|
|
5
|
-
.@{prefix-cls} {
|
|
6
|
-
position: relative;
|
|
7
|
-
width: 100%;
|
|
8
|
-
overflow: hidden;
|
|
9
|
-
|
|
10
|
-
&-fit {
|
|
11
|
-
height: 100%;
|
|
12
|
-
.ant-table-container {
|
|
13
|
-
border-left: none !important;
|
|
14
|
-
table > thead > tr th:first-child {
|
|
15
|
-
border-left: 1px solid @table-border-color;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
.ant-table-body {
|
|
19
|
-
// overflow-y: auto !important;
|
|
20
|
-
}
|
|
21
|
-
.ant-table-header,
|
|
22
|
-
.ant-table-body {
|
|
23
|
-
&::-webkit-scrollbar {
|
|
24
|
-
width: @webkit-scrollbar-width;
|
|
25
|
-
height: @webkit-scrollbar-height;
|
|
26
|
-
background-color: @webkit-scrollbar-color;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&::-webkit-scrollbar-thumb {
|
|
30
|
-
background-color: @webkit-scrollbar-thumb-color;
|
|
31
|
-
border-radius: @webkit-scrollbar-thumb-radius;
|
|
32
|
-
}
|
|
33
|
-
> table {
|
|
34
|
-
min-height: 1px;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
.ant-table-tbody > tr {
|
|
38
|
-
&:nth-child(odd) {
|
|
39
|
-
background: @table-row-odd;
|
|
40
|
-
> td {
|
|
41
|
-
background: @table-row-odd !important;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
> td:first-child {
|
|
45
|
-
border-left: 1px solid @table-border-color;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
.ant-table-fixed-header .ant-table-scroll .ant-table-header {
|
|
49
|
-
min-width: 5px !important;
|
|
50
|
-
}
|
|
51
|
-
.ant-table-pagination {
|
|
52
|
-
position: absolute;
|
|
53
|
-
right: 0;
|
|
54
|
-
bottom: 0;
|
|
55
|
-
}
|
|
56
|
-
.ant-spin-nested-loading {
|
|
57
|
-
height: 100%;
|
|
58
|
-
.ant-spin-container {
|
|
59
|
-
position: relative;
|
|
60
|
-
height: 100%;
|
|
61
|
-
.ant-table {
|
|
62
|
-
height: 100%;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
&-noFit {
|
|
68
|
-
.ant-table-tbody > tr {
|
|
69
|
-
&:nth-child(even) when(@theme=default) {
|
|
70
|
-
background: #f6f6f6;
|
|
71
|
-
> td {
|
|
72
|
-
background: #f6f6f6 !important;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
.ant-table-container {
|
|
78
|
-
position: relative;
|
|
79
|
-
height: 100%;
|
|
80
|
-
}
|
|
81
|
-
.ant-table-middle {
|
|
82
|
-
.ant-table-thead > tr > th {
|
|
83
|
-
padding-left: 12px !important;
|
|
84
|
-
padding-right: 12px !important;
|
|
85
|
-
}
|
|
86
|
-
.ant-table-tbody > tr > td {
|
|
87
|
-
padding-left: 12px !important;
|
|
88
|
-
padding-right: 12px !important;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
.ant-table-tbody > tr.ant-table-row-selected > td {
|
|
92
|
-
// background: transparent !important;
|
|
93
|
-
border-color: @table-border-color !important;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.ant-table-thead > tr > th when(@theme=default) {
|
|
97
|
-
// antd4.0 半透明会重叠
|
|
98
|
-
// background-color: fade(#1890ff, 8);
|
|
99
|
-
font-weight: bold;
|
|
100
|
-
background-color: rgba(237, 246, 255, 1);
|
|
101
|
-
}
|
|
102
|
-
.ant-table-tbody > tr {
|
|
103
|
-
// &:nth-child(even) when(@theme=default) {
|
|
104
|
-
// background: #f6f6f6;
|
|
105
|
-
// }
|
|
106
|
-
& > .ant-table-cell {
|
|
107
|
-
color: @text-color;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
&.ant-table-placeholder {
|
|
111
|
-
position: absolute;
|
|
112
|
-
top: 25%;
|
|
113
|
-
// top: auto;
|
|
114
|
-
right: 0;
|
|
115
|
-
// bottom: auto;
|
|
116
|
-
left: 0;
|
|
117
|
-
background-color: transparent;
|
|
118
|
-
border-top: none;
|
|
119
|
-
// height: 100%;
|
|
120
|
-
& > td.ant-table-cell {
|
|
121
|
-
display: flex;
|
|
122
|
-
align-items: center;
|
|
123
|
-
justify-content: center;
|
|
124
|
-
width: 100%;
|
|
125
|
-
height: 100%;
|
|
126
|
-
// border-right: @border-width-base @border-style-base @table-border-color;
|
|
127
|
-
// border-left: @border-width-base @border-style-base @table-border-color;
|
|
128
|
-
border: none;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
// fix: checkbox 选中时 固定列 最上面一层透明会 和下面重叠
|
|
133
|
-
// .ant-table-tbody > tr.ant-table-row-selected td {
|
|
134
|
-
// background: transparent;
|
|
135
|
-
// }
|
|
136
|
-
&-alert {
|
|
137
|
-
margin-bottom: 8px;
|
|
138
|
-
&-message when(@theme=default) {
|
|
139
|
-
color: fade(@black, 65%);
|
|
140
|
-
}
|
|
141
|
-
&-message when(@theme=dark) {
|
|
142
|
-
color: @text-color;
|
|
143
|
-
}
|
|
144
|
-
&-info-content > strong {
|
|
145
|
-
margin: 0 4px;
|
|
146
|
-
color: #13c2c2;
|
|
147
|
-
}
|
|
148
|
-
&-info-option {
|
|
149
|
-
margin-left: 10px;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
&-nodata {
|
|
153
|
-
.ant-table-scroll {
|
|
154
|
-
overflow-y: hidden;
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
&-toolbar {
|
|
158
|
-
display: table;
|
|
159
|
-
width: 100%;
|
|
160
|
-
margin: 16px 0;
|
|
161
|
-
color: @text-color;
|
|
162
|
-
}
|
|
163
|
-
&-toolbar-left,
|
|
164
|
-
&-toolbar-right {
|
|
165
|
-
display: inline-block;
|
|
166
|
-
display: table-cell;
|
|
167
|
-
vertical-align: middle;
|
|
168
|
-
}
|
|
169
|
-
&-toolbar-left {
|
|
170
|
-
color: @text-color;
|
|
171
|
-
font-size: 16px;
|
|
172
|
-
}
|
|
173
|
-
&-toolbar-right {
|
|
174
|
-
float: right;
|
|
175
|
-
}
|
|
176
|
-
// &-toolbar-line {
|
|
177
|
-
// width: 1px;
|
|
178
|
-
// height: 14px;
|
|
179
|
-
// display: inline-block;
|
|
180
|
-
// vertical-align: middle;
|
|
181
|
-
// background: #e8e8e8;
|
|
182
|
-
// margin: 0 -2px 0 12px;
|
|
183
|
-
// }
|
|
184
|
-
&-toolbar-setting-item {
|
|
185
|
-
display: inline-block;
|
|
186
|
-
margin-left: 16px;
|
|
187
|
-
color: @icon-color;
|
|
188
|
-
font-size: 16px;
|
|
189
|
-
vertical-align: middle;
|
|
190
|
-
cursor: pointer;
|
|
191
|
-
color: #707070;
|
|
192
|
-
&:hover {
|
|
193
|
-
color: @icon-color-hover;
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
&-space-item {
|
|
198
|
-
display: inline-block;
|
|
199
|
-
vertical-align: middle;
|
|
200
|
-
}
|
|
201
|
-
.react-resizable {
|
|
202
|
-
position: relative;
|
|
203
|
-
background-clip: padding-box;
|
|
204
|
-
}
|
|
205
|
-
.react-resizable-handle {
|
|
206
|
-
position: absolute;
|
|
207
|
-
right: -5px;
|
|
208
|
-
bottom: 0;
|
|
209
|
-
z-index: 1;
|
|
210
|
-
width: 10px;
|
|
211
|
-
height: 100%;
|
|
212
|
-
cursor: col-resize;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
&-column-setting {
|
|
216
|
-
&-title {
|
|
217
|
-
height: 32px;
|
|
218
|
-
line-height: 32px;
|
|
219
|
-
|
|
220
|
-
a {
|
|
221
|
-
display: inline-block;
|
|
222
|
-
float: right;
|
|
223
|
-
vertical-align: middle;
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
&-checkbox-wrapper {
|
|
228
|
-
color: @text-color;
|
|
229
|
-
vertical-align: middle;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
&-list {
|
|
233
|
-
&-list-item {
|
|
234
|
-
display: flex;
|
|
235
|
-
|
|
236
|
-
&-title {
|
|
237
|
-
flex: 1;
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
}
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
@prefix-cls: vtx-datagrid;
|
|
4
|
+
|
|
5
|
+
.@{prefix-cls} {
|
|
6
|
+
position: relative;
|
|
7
|
+
width: 100%;
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
|
|
10
|
+
&-fit {
|
|
11
|
+
height: 100%;
|
|
12
|
+
.ant-table-container {
|
|
13
|
+
border-left: none !important;
|
|
14
|
+
table > thead > tr th:first-child {
|
|
15
|
+
border-left: 1px solid @table-border-color;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
.ant-table-body {
|
|
19
|
+
// overflow-y: auto !important;
|
|
20
|
+
}
|
|
21
|
+
.ant-table-header,
|
|
22
|
+
.ant-table-body {
|
|
23
|
+
&::-webkit-scrollbar {
|
|
24
|
+
width: @webkit-scrollbar-width;
|
|
25
|
+
height: @webkit-scrollbar-height;
|
|
26
|
+
background-color: @webkit-scrollbar-color;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&::-webkit-scrollbar-thumb {
|
|
30
|
+
background-color: @webkit-scrollbar-thumb-color;
|
|
31
|
+
border-radius: @webkit-scrollbar-thumb-radius;
|
|
32
|
+
}
|
|
33
|
+
> table {
|
|
34
|
+
min-height: 1px;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
.ant-table-tbody > tr {
|
|
38
|
+
&:nth-child(odd) {
|
|
39
|
+
background: @table-row-odd;
|
|
40
|
+
> td {
|
|
41
|
+
background: @table-row-odd !important;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
> td:first-child {
|
|
45
|
+
border-left: 1px solid @table-border-color;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
.ant-table-fixed-header .ant-table-scroll .ant-table-header {
|
|
49
|
+
min-width: 5px !important;
|
|
50
|
+
}
|
|
51
|
+
.ant-table-pagination {
|
|
52
|
+
position: absolute;
|
|
53
|
+
right: 0;
|
|
54
|
+
bottom: 0;
|
|
55
|
+
}
|
|
56
|
+
.ant-spin-nested-loading {
|
|
57
|
+
height: 100%;
|
|
58
|
+
.ant-spin-container {
|
|
59
|
+
position: relative;
|
|
60
|
+
height: 100%;
|
|
61
|
+
.ant-table {
|
|
62
|
+
height: 100%;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
&-noFit {
|
|
68
|
+
.ant-table-tbody > tr {
|
|
69
|
+
&:nth-child(even) when(@theme=default) {
|
|
70
|
+
background: #f6f6f6;
|
|
71
|
+
> td {
|
|
72
|
+
background: #f6f6f6 !important;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
.ant-table-container {
|
|
78
|
+
position: relative;
|
|
79
|
+
height: 100%;
|
|
80
|
+
}
|
|
81
|
+
.ant-table-middle {
|
|
82
|
+
.ant-table-thead > tr > th {
|
|
83
|
+
padding-left: 12px !important;
|
|
84
|
+
padding-right: 12px !important;
|
|
85
|
+
}
|
|
86
|
+
.ant-table-tbody > tr > td {
|
|
87
|
+
padding-left: 12px !important;
|
|
88
|
+
padding-right: 12px !important;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
.ant-table-tbody > tr.ant-table-row-selected > td {
|
|
92
|
+
// background: transparent !important;
|
|
93
|
+
border-color: @table-border-color !important;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.ant-table-thead > tr > th when(@theme=default) {
|
|
97
|
+
// antd4.0 半透明会重叠
|
|
98
|
+
// background-color: fade(#1890ff, 8);
|
|
99
|
+
font-weight: bold;
|
|
100
|
+
background-color: rgba(237, 246, 255, 1);
|
|
101
|
+
}
|
|
102
|
+
.ant-table-tbody > tr {
|
|
103
|
+
// &:nth-child(even) when(@theme=default) {
|
|
104
|
+
// background: #f6f6f6;
|
|
105
|
+
// }
|
|
106
|
+
& > .ant-table-cell {
|
|
107
|
+
color: @text-color;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
&.ant-table-placeholder {
|
|
111
|
+
position: absolute;
|
|
112
|
+
top: 25%;
|
|
113
|
+
// top: auto;
|
|
114
|
+
right: 0;
|
|
115
|
+
// bottom: auto;
|
|
116
|
+
left: 0;
|
|
117
|
+
background-color: transparent;
|
|
118
|
+
border-top: none;
|
|
119
|
+
// height: 100%;
|
|
120
|
+
& > td.ant-table-cell {
|
|
121
|
+
display: flex;
|
|
122
|
+
align-items: center;
|
|
123
|
+
justify-content: center;
|
|
124
|
+
width: 100%;
|
|
125
|
+
height: 100%;
|
|
126
|
+
// border-right: @border-width-base @border-style-base @table-border-color;
|
|
127
|
+
// border-left: @border-width-base @border-style-base @table-border-color;
|
|
128
|
+
border: none;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
// fix: checkbox 选中时 固定列 最上面一层透明会 和下面重叠
|
|
133
|
+
// .ant-table-tbody > tr.ant-table-row-selected td {
|
|
134
|
+
// background: transparent;
|
|
135
|
+
// }
|
|
136
|
+
&-alert {
|
|
137
|
+
margin-bottom: 8px;
|
|
138
|
+
&-message when(@theme=default) {
|
|
139
|
+
color: fade(@black, 65%);
|
|
140
|
+
}
|
|
141
|
+
&-message when(@theme=dark) {
|
|
142
|
+
color: @text-color;
|
|
143
|
+
}
|
|
144
|
+
&-info-content > strong {
|
|
145
|
+
margin: 0 4px;
|
|
146
|
+
color: #13c2c2;
|
|
147
|
+
}
|
|
148
|
+
&-info-option {
|
|
149
|
+
margin-left: 10px;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
&-nodata {
|
|
153
|
+
.ant-table-scroll {
|
|
154
|
+
overflow-y: hidden;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
&-toolbar {
|
|
158
|
+
display: table;
|
|
159
|
+
width: 100%;
|
|
160
|
+
margin: 16px 0;
|
|
161
|
+
color: @text-color;
|
|
162
|
+
}
|
|
163
|
+
&-toolbar-left,
|
|
164
|
+
&-toolbar-right {
|
|
165
|
+
display: inline-block;
|
|
166
|
+
display: table-cell;
|
|
167
|
+
vertical-align: middle;
|
|
168
|
+
}
|
|
169
|
+
&-toolbar-left {
|
|
170
|
+
color: @text-color;
|
|
171
|
+
font-size: 16px;
|
|
172
|
+
}
|
|
173
|
+
&-toolbar-right {
|
|
174
|
+
float: right;
|
|
175
|
+
}
|
|
176
|
+
// &-toolbar-line {
|
|
177
|
+
// width: 1px;
|
|
178
|
+
// height: 14px;
|
|
179
|
+
// display: inline-block;
|
|
180
|
+
// vertical-align: middle;
|
|
181
|
+
// background: #e8e8e8;
|
|
182
|
+
// margin: 0 -2px 0 12px;
|
|
183
|
+
// }
|
|
184
|
+
&-toolbar-setting-item {
|
|
185
|
+
display: inline-block;
|
|
186
|
+
margin-left: 16px;
|
|
187
|
+
color: @icon-color;
|
|
188
|
+
font-size: 16px;
|
|
189
|
+
vertical-align: middle;
|
|
190
|
+
cursor: pointer;
|
|
191
|
+
color: #707070;
|
|
192
|
+
&:hover {
|
|
193
|
+
color: @icon-color-hover;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
&-space-item {
|
|
198
|
+
display: inline-block;
|
|
199
|
+
vertical-align: middle;
|
|
200
|
+
}
|
|
201
|
+
.react-resizable {
|
|
202
|
+
position: relative;
|
|
203
|
+
background-clip: padding-box;
|
|
204
|
+
}
|
|
205
|
+
.react-resizable-handle {
|
|
206
|
+
position: absolute;
|
|
207
|
+
right: -5px;
|
|
208
|
+
bottom: 0;
|
|
209
|
+
z-index: 1;
|
|
210
|
+
width: 10px;
|
|
211
|
+
height: 100%;
|
|
212
|
+
cursor: col-resize;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
&-column-setting {
|
|
216
|
+
&-title {
|
|
217
|
+
height: 32px;
|
|
218
|
+
line-height: 32px;
|
|
219
|
+
|
|
220
|
+
a {
|
|
221
|
+
display: inline-block;
|
|
222
|
+
float: right;
|
|
223
|
+
vertical-align: middle;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
&-checkbox-wrapper {
|
|
228
|
+
color: @text-color;
|
|
229
|
+
vertical-align: middle;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
&-list {
|
|
233
|
+
&-list-item {
|
|
234
|
+
display: flex;
|
|
235
|
+
|
|
236
|
+
&-title {
|
|
237
|
+
flex: 1;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
@prefix-cls: vtx-qdate;
|
|
2
|
-
|
|
3
|
-
.@{prefix-cls} {
|
|
4
|
-
&-wrap {
|
|
5
|
-
position: relative;
|
|
6
|
-
|
|
7
|
-
.ant-calendar-picker-input {
|
|
8
|
-
color: transparent;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
&-input-wrap {
|
|
13
|
-
position: absolute;
|
|
14
|
-
top: 50%;
|
|
15
|
-
left: 12px;
|
|
16
|
-
margin-top: -16px;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&-extra-footer {
|
|
20
|
-
text-align: center;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&-text-year:hover,
|
|
24
|
-
&-text-date:hover,
|
|
25
|
-
&-text-month:hover,
|
|
26
|
-
&-text-time:hover {
|
|
27
|
-
text-decoration: underline;
|
|
28
|
-
cursor: pointer;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&-text-time::before {
|
|
32
|
-
content: ' ';
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&-text-month:not(:first-child)::before,
|
|
36
|
-
&-text-date:not(:first-child)::before {
|
|
37
|
-
content: '-';
|
|
38
|
-
}
|
|
39
|
-
}
|
|
1
|
+
@prefix-cls: vtx-qdate;
|
|
2
|
+
|
|
3
|
+
.@{prefix-cls} {
|
|
4
|
+
&-wrap {
|
|
5
|
+
position: relative;
|
|
6
|
+
|
|
7
|
+
.ant-calendar-picker-input {
|
|
8
|
+
color: transparent;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&-input-wrap {
|
|
13
|
+
position: absolute;
|
|
14
|
+
top: 50%;
|
|
15
|
+
left: 12px;
|
|
16
|
+
margin-top: -16px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&-extra-footer {
|
|
20
|
+
text-align: center;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&-text-year:hover,
|
|
24
|
+
&-text-date:hover,
|
|
25
|
+
&-text-month:hover,
|
|
26
|
+
&-text-time:hover {
|
|
27
|
+
text-decoration: underline;
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&-text-time::before {
|
|
32
|
+
content: ' ';
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&-text-month:not(:first-child)::before,
|
|
36
|
+
&-text-date:not(:first-child)::before {
|
|
37
|
+
content: '-';
|
|
38
|
+
}
|
|
39
|
+
}
|
package/es/vtx-export/index.js
CHANGED
|
@@ -71,10 +71,10 @@ var VtxExport = function VtxExport(props) {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
// eslint-disable-next-line valid-jsdoc
|
|
74
|
-
/**
|
|
75
|
-
* 发送http请求
|
|
76
|
-
* @param {Object} postData api参数
|
|
77
|
-
* @return reponse
|
|
74
|
+
/**
|
|
75
|
+
* 发送http请求
|
|
76
|
+
* @param {Object} postData api参数
|
|
77
|
+
* @return reponse
|
|
78
78
|
*/
|
|
79
79
|
function requestToResponse(postData) {
|
|
80
80
|
var params = {
|
|
@@ -135,10 +135,10 @@ var VtxExport = function VtxExport(props) {
|
|
|
135
135
|
downloadByATag(window.URL.createObjectURL(blob), filename);
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
/**
|
|
139
|
-
* 通过a标签模拟下载
|
|
140
|
-
* @param {String} href
|
|
141
|
-
* @param {String} filename
|
|
138
|
+
/**
|
|
139
|
+
* 通过a标签模拟下载
|
|
140
|
+
* @param {String} href
|
|
141
|
+
* @param {String} filename
|
|
142
142
|
*/
|
|
143
143
|
function downloadByATag(href, filename) {
|
|
144
144
|
var a = document.createElement('a');
|