更新 gh-pages

This commit is contained in:
liaoxuezhi 2019-08-26 10:14:17 +08:00
parent e61f1761be
commit db8c176a6a
186 changed files with 533 additions and 458 deletions

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

File diff suppressed because one or more lines are too long

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -1,7 +1,7 @@
define('docs/renderers/Chart.md', function(require, exports, module) { define('docs/renderers/Chart.md', function(require, exports, module) {
module.exports = { module.exports = {
"html": "<h2><a class=\"anchor\" name=\"chart\" href=\"#chart\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Chart</h2><p>图表渲染器,采用 echarts 渲染,配置格式跟 echarts 相同,<a href=\"http://echarts.baidu.com/option.html#title\">echarts配置文档</a></p>\n<table>\n<thead>\n<tr>\n<th>属性名</th>\n<th>类型</th>\n<th>默认值</th>\n<th>说明</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td><code>string</code></td>\n<td><code>&quot;chart&quot;</code></td>\n<td>指定为 chart 渲染器</td>\n</tr>\n<tr>\n<td>className</td>\n<td><code>string</code></td>\n<td></td>\n<td>外层 Dom 的类名</td>\n</tr>\n<tr>\n<td>body</td>\n<td><a href=\"/amis/docs/renderers/Types#container\">Container</a></td>\n<td></td>\n<td>内容容器</td>\n</tr>\n<tr>\n<td>api</td>\n<td><a href=\"/amis/docs/renderers/Types#Api\">api</a></td>\n<td></td>\n<td>配置项远程地址</td>\n</tr>\n<tr>\n<td>initFetch</td>\n<td><code>boolean</code></td>\n<td></td>\n<td>是否默认拉取</td>\n</tr>\n<tr>\n<td>interval</td>\n<td><code>number</code></td>\n<td></td>\n<td>刷新时间(最低 3000)</td>\n</tr>\n<tr>\n<td>config</td>\n<td><code>object/string</code></td>\n<td></td>\n<td>设置 eschars 的配置项,当为<code>string</code>的时候可以设置 function 等配置项</td>\n</tr>\n<tr>\n<td>style</td>\n<td><code>object</code></td>\n<td></td>\n<td>设置根元素的 style</td>\n</tr>\n</tbody>\n</table>\n<div class=\"amis-preview\" style=\"height: 550px\"><script type=\"text/schema\" height=\"550\" scope=\"body\">{\n \"type\": \"chart\",\n \"api\": \"https://houtai.baidu.com/api/mock2/chart/chart\",\n \"interval\": 5000\n}\n</script></div>\n\n\n<div class=\"m-t-lg b-l b-info b-3x wrapper bg-light dk\">文档内容有误?欢迎大家一起来编写,文档地址:<i class=\"fa fa-github\"></i><a href=\"https://github.com/baidu/amis/tree/master/docs/renderers/Chart.md\">/docs/renderers/Chart.md</a>。</div>", "html": "<h2><a class=\"anchor\" name=\"chart\" href=\"#chart\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Chart</h2><p>图表渲染器,采用 echarts 渲染,配置格式跟 echarts 相同,<a href=\"http://echarts.baidu.com/option.html#title\">echarts配置文档</a></p>\n<table>\n<thead>\n<tr>\n<th>属性名</th>\n<th>类型</th>\n<th>默认值</th>\n<th>说明</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td><code>string</code></td>\n<td><code>&quot;chart&quot;</code></td>\n<td>指定为 chart 渲染器</td>\n</tr>\n<tr>\n<td>className</td>\n<td><code>string</code></td>\n<td></td>\n<td>外层 Dom 的类名</td>\n</tr>\n<tr>\n<td>body</td>\n<td><a href=\"/amis/docs/renderers/Types#container\">Container</a></td>\n<td></td>\n<td>内容容器</td>\n</tr>\n<tr>\n<td>api</td>\n<td><a href=\"/amis/docs/renderers/Types#Api\">api</a></td>\n<td></td>\n<td>配置项远程地址</td>\n</tr>\n<tr>\n<td>initFetch</td>\n<td><code>boolean</code></td>\n<td></td>\n<td>是否默认拉取</td>\n</tr>\n<tr>\n<td>interval</td>\n<td><code>number</code></td>\n<td></td>\n<td>刷新时间(最低 3000)</td>\n</tr>\n<tr>\n<td>config</td>\n<td><code>object/string</code></td>\n<td></td>\n<td>设置 eschars 的配置项,当为<code>string</code>的时候可以设置 function 等配置项</td>\n</tr>\n<tr>\n<td>style</td>\n<td><code>object</code></td>\n<td></td>\n<td>设置根元素的 style</td>\n</tr>\n<tr>\n<td>width</td>\n<td><code>string</code></td>\n<td></td>\n<td>设置根元素的宽度</td>\n</tr>\n<tr>\n<td>height</td>\n<td><code>string</code></td>\n<td></td>\n<td>设置根元素的高度</td>\n</tr>\n</tbody>\n</table>\n<div class=\"amis-preview\" style=\"height: 550px\"><script type=\"text/schema\" height=\"550\" scope=\"body\">{\n \"type\": \"chart\",\n \"api\": \"https://houtai.baidu.com/api/mock2/chart/chart\",\n \"interval\": 5000\n}\n</script></div>\n\n\n<div class=\"m-t-lg b-l b-info b-3x wrapper bg-light dk\">文档内容有误?欢迎大家一起来编写,文档地址:<i class=\"fa fa-github\"></i><a href=\"https://github.com/baidu/amis/tree/master/docs/renderers/Chart.md\">/docs/renderers/Chart.md</a>。</div>",
"toc": { "toc": {
"label": "目录", "label": "目录",
"type": "toc", "type": "toc",

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -0,0 +1,51 @@
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<title>AMis Renderer</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<link rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_6d9eb72.css" />
<link
rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
<link rel="stylesheet" title="default" href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/default_803c14f.css" />
<link rel="stylesheet" title="cxd" disabled href="https://bce.bdstatic.com/fex/amis-gh-pages/scss/themes/cxd_9007006.css" />
<link rel="stylesheet" href="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/style_7e7bdb0.css" />
<style>
.app-wrapper {
position: relative;
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
<script type="text/javascript">
var _hmt = _hmt || [];
// 百度统计
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?1f80f2c9dbe21dc3af239cf9eee90f1f";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
/* @require examples/index.jsx 标记为同步依赖,提前加载 */
require(['ca626e1'], function (app) {
var initialState = {};
app.bootstrap(document.getElementById('root'), initialState);
});
</script>
</body>
</html>

View File

@ -0,0 +1,20 @@
define('docs/renderers/Each.md', function(require, exports, module) {
module.exports = {
"html": "<h2><a class=\"anchor\" name=\"each\" href=\"#each\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Each</h2><p>基于现有变量循环输出渲染器</p>\n<ul>\n<li><code>type</code> 请设置 <code>each</code>。</li>\n<li><code>value</code> 格式为数组。</li>\n<li><code>items</code> 使用<code>value</code>中的数据,循环输出渲染器。</li>\n</ul>\n<div class=\"amis-preview\" style=\"height: 360px\"><script type=\"text/schema\" height=\"360\" scope=\"body\">{\n \"type\": \"each\",\n \"value\": [\"A\", \"B\", \"C\"],\n \"items\": {\n \"type\": \"tpl\",\n \"tpl\": \"<span class='label label-default'><%= data.item %></span> \"\n }\n}\n</script></div>\n\n\n<div class=\"m-t-lg b-l b-info b-3x wrapper bg-light dk\">文档内容有误?欢迎大家一起来编写,文档地址:<i class=\"fa fa-github\"></i><a href=\"https://github.com/baidu/amis/tree/master/docs/renderers/Each.md\">/docs/renderers/Each.md</a>。</div>",
"toc": {
"label": "目录",
"type": "toc",
"children": [
{
"label": "Each",
"fragment": "each",
"fullPath": "#each",
"level": 2
}
],
"level": 0
}
};
});

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -1,7 +1,7 @@
define('docs/renderers/Form/Button-Group.md', function(require, exports, module) { define('docs/renderers/Form/Button-Group.md', function(require, exports, module) {
module.exports = { module.exports = {
"html": "<h3><a class=\"anchor\" name=\"button-group-formitem-\" href=\"#button-group-formitem-\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Button-Group(FormItem)</h3><p>按钮集合,直接看示例吧。</p>\n<ul>\n<li><code>type</code> 请设置成 <code>button-group</code></li>\n<li><code>buttons</code> 配置按钮集合。</li>\n</ul>\n<div class=\"amis-preview\" style=\"height: 400px\"><script type=\"text/schema\" height=\"400\" scope=\"form\">[\n {\n \"type\": \"text\",\n \"name\": \"test\",\n \"label\": \"Text\"\n },\n\n {\n \"type\": \"button-toolbar\",\n \"buttons\": [\n {\n \"type\": \"button-group\",\n \"buttons\": [\n {\n \"type\": \"button\",\n \"label\": \"Button\",\n \"actionType\": \"dialog\",\n \"dialog\": {\n \"confirmMode\": false,\n \"title\": \"提示\",\n \"body\": \"对,你刚点击了!\"\n }\n },\n\n {\n \"type\": \"submit\",\n \"label\": \"Submit\"\n },\n\n {\n \"type\": \"reset\",\n \"label\": \"Reset\"\n }\n ]\n },\n\n {\n \"type\": \"submit\",\n \"icon\": \"fa fa-check text-success\"\n },\n\n {\n \"type\": \"reset\",\n \"icon\": \"fa fa-times text-danger\"\n }\n ]\n }\n]\n</script></div>\n<p>button-group 有两种模式,除了能让按钮组合在一起,还能做类似于单选功能。</p>\n<p>当不配置 buttons 属性时,就可以当复选框用。</p>\n<ul>\n<li><code>options</code> 选项配置,类型为数组,成员格式如下。<ul>\n<li><code>label</code> 文字</li>\n<li><code>value</code> 值</li>\n<li><code>image</code> 图片的 <code>http</code> 地址。</li>\n</ul>\n</li>\n<li><code>source</code> Api 地址,如果选项不固定,可以通过配置 <code>source</code> 动态拉取。</li>\n<li><code>multiple</code> 默认为 <code>false</code>, 设置成 <code>true</code> 表示可多选。</li>\n<li><code>joinValues</code> 默认为 <code>true</code></li>\n<li>单选模式:当用户选中某个选项时,选项中的 value 将被作为该表单项的值提交,否则,整个选项对象都会作为该表单项的值提交。</li>\n<li>多选模式:选中的多个选项的 <code>value</code> 会通过 <code>delimiter</code> 连接起来,否则直接将以数组的形式提交值。</li>\n<li><code>delimiter</code> 默认为 <code>,</code></li>\n<li><code>extractValue</code> 默认为 <code>false</code>, <code>joinValues</code>设置为<code>false</code>时生效, 开启后将选中的选项 <code>value</code> 的值封装为数组,作为当前表单项的值。</li>\n<li><code>clearable</code> 默认为 <code>true</code>, 表示可以取消选中。</li>\n<li><code>size</code> 按钮大小,从小到大依次为<code>xs, sm, md, lg</code></li>\n<li><code>disabled</code> 是否禁用<code>options</code> 中选项</li>\n<li><strong>还有更多通用配置请参考</strong> <a href=\"/amis/docs/renderers/Form/FormItem\">FormItem</a></li>\n</ul>\n<div class=\"amis-preview\" style=\"height: 450px\"><script type=\"text/schema\" height=\"450\" scope=\"form\">[\n {\n \"type\": \"button-group\",\n \"name\": \"select\",\n \"label\": \"单选\",\n \"options\": [\n {\n \"label\": \"Option A\",\n \"value\": \"a\"\n },\n {\n \"label\": \"Option B\",\n \"value\": \"b\"\n }\n ]\n },\n\n {\n \"type\": \"static\",\n \"name\": \"select\",\n \"label\": \"当前值\"\n }\n]\n</script></div>\n\n\n<div class=\"m-t-lg b-l b-info b-3x wrapper bg-light dk\">文档内容有误?欢迎大家一起来编写,文档地址:<i class=\"fa fa-github\"></i><a href=\"https://github.com/baidu/amis/tree/master/docs/renderers/Form/Button-Group.md\">/docs/renderers/Form/Button-Group.md</a>。</div>", "html": "<h3><a class=\"anchor\" name=\"button-group-formitem-\" href=\"#button-group-formitem-\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Button-Group(FormItem)</h3><p>按钮集合,直接看示例吧。</p>\n<ul>\n<li><code>type</code> 请设置成 <code>button-group</code></li>\n<li><code>buttons</code> 配置按钮集合。</li>\n</ul>\n<div class=\"amis-preview\" style=\"height: 400px\"><script type=\"text/schema\" height=\"400\" scope=\"form\">[\n {\n \"type\": \"text\",\n \"name\": \"test\",\n \"label\": \"Text\"\n },\n\n {\n \"type\": \"button-toolbar\",\n \"buttons\": [\n {\n \"type\": \"button-group\",\n \"buttons\": [\n {\n \"type\": \"button\",\n \"label\": \"Button\",\n \"actionType\": \"dialog\",\n \"dialog\": {\n \"confirmMode\": false,\n \"title\": \"提示\",\n \"body\": \"对,你刚点击了!\"\n }\n },\n\n {\n \"type\": \"submit\",\n \"label\": \"Submit\"\n },\n\n {\n \"type\": \"reset\",\n \"label\": \"Reset\"\n }\n ]\n },\n\n {\n \"type\": \"submit\",\n \"icon\": \"fa fa-check text-success\"\n },\n\n {\n \"type\": \"reset\",\n \"icon\": \"fa fa-times text-danger\"\n }\n ]\n }\n]\n</script></div>\n<p>button-group 有两种模式,除了能让按钮组合在一起,还能做类似于单选功能。</p>\n<p>当不配置 buttons 属性时,就可以当复选框用。</p>\n<ul>\n<li><code>options</code> 选项配置,类型为数组,成员格式如下。<ul>\n<li><code>label</code> 文字</li>\n<li><code>value</code> 值</li>\n<li><code>image</code> 图片的 <code>http</code> 地址。</li>\n</ul>\n</li>\n<li><code>source</code> Api 地址,如果选项不固定,可以通过配置 <code>source</code> 动态拉取。</li>\n<li><code>multiple</code> 默认为 <code>false</code>, 设置成 <code>true</code> 表示可多选。</li>\n<li><code>joinValues</code> 默认为 <code>true</code></li>\n<li>单选模式:当用户选中某个选项时,选项中的 value 将被作为该表单项的值提交,否则,整个选项对象都会作为该表单项的值提交。</li>\n<li>多选模式:选中的多个选项的 <code>value</code> 会通过 <code>delimiter</code> 连接起来,否则直接将以数组的形式提交值。</li>\n<li><code>delimiter</code> 默认为 <code>,</code></li>\n<li><code>extractValue</code> 默认为 <code>false</code>, <code>joinValues</code>设置为<code>false</code>时生效, 开启后将选中的选项 <code>value</code> 的值封装为数组,作为当前表单项的值。</li>\n<li><code>clearable</code> 默认为 <code>true</code>, 表示可以取消选中。</li>\n<li><code>size</code> 按钮大小,从小到大依次为<code>xs, sm, md, lg</code></li>\n<li><code>disabled</code> 是否禁用<code>options</code> 中选项</li>\n<li><code>autoFill</code> 将当前已选中的选项的某个字段的值自动填充到表单中某个表单项中,只在单选时有效<ul>\n<li><code>autoFill</code>的格式为<code>{address: &quot;${label}&quot;}</code>,表示将选中项中的<code>label</code>的值,自动填充到当前表单项中<code>name</code> 为<code>address</code> 中</li>\n</ul>\n</li>\n<li><strong>还有更多通用配置请参考</strong> <a href=\"/amis/docs/renderers/Form/FormItem\">FormItem</a></li>\n</ul>\n<div class=\"amis-preview\" style=\"height: 450px\"><script type=\"text/schema\" height=\"450\" scope=\"form\">[\n {\n \"type\": \"button-group\",\n \"name\": \"select\",\n \"label\": \"单选\",\n \"options\": [\n {\n \"label\": \"Option A\",\n \"value\": \"a\"\n },\n {\n \"label\": \"Option B\",\n \"value\": \"b\"\n }\n ]\n },\n\n {\n \"type\": \"static\",\n \"name\": \"select\",\n \"label\": \"当前值\"\n }\n]\n</script></div>\n\n\n<div class=\"m-t-lg b-l b-info b-3x wrapper bg-light dk\">文档内容有误?欢迎大家一起来编写,文档地址:<i class=\"fa fa-github\"></i><a href=\"https://github.com/baidu/amis/tree/master/docs/renderers/Form/Button-Group.md\">/docs/renderers/Form/Button-Group.md</a>。</div>",
"toc": { "toc": {
"label": "目录", "label": "目录",
"type": "toc", "type": "toc",

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -1,7 +1,7 @@
define('docs/renderers/Form/File.md', function(require, exports, module) { define('docs/renderers/Form/File.md', function(require, exports, module) {
module.exports = { module.exports = {
"html": "<h3><a class=\"anchor\" name=\"file\" href=\"#file\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>File</h3><p>用来负责文件上传,文件上传成功后会返回文件地址,这个文件地址会作为这个表单项的值,整个表单提交的时候,其实提交的是文件地址,文件上传已经在这个控件中完成了。</p>\n<ul>\n<li><code>type</code> 请设置成 <code>file</code></li>\n<li><code>reciever</code> 默认 <code>/api/upload/file</code> 如果想自己存储,请设置此选项。(PS: 如果想存自己的 bos, 系统配置中可以直接填写自己的 bos 配置。)</li>\n<li><code>accept</code> 默认 <code>text/plain</code> 默认只支持纯文本,要支持其他类型,请配置此属性。</li>\n<li><code>maxSize</code> 默认没有限制,当设置后,文件大小大于此值将不允许上传。</li>\n<li><code>multiple</code> 是否多选。</li>\n<li><code>maxLength</code> 默认没有限制,当设置后,一次只允许上传指定数量文件。</li>\n<li><code>joinValues</code> 多选时是否将多个值用 <code>delimiter</code> 连接起来。</li>\n<li><code>extractValue</code> 默认为 <code>false</code>, <code>joinValues</code>设置为<code>false</code>时生效, 开启后将选中的选项 value 的值封装为数组,作为当前表单项的值。</li>\n<li><code>delimiter</code> 链接符</li>\n<li><code>autoUpload</code> 是否选择完就自动开始上传默认为 <code>true</code></li>\n<li><code>fileField</code> 默认 <code>file</code>, 如果你不想自己存储,则可以忽略此属性。</li>\n<li><code>downloadUrl</code> 默认显示文件路径的时候会支持直接下载,可以支持加前缀如:<code>http://xx.dom/filename=</code> ,如果不希望这样,可以把当前配置项设置为 <code>false</code>。</li>\n<li><code>useChunk</code> 默认为 &#39;auto&#39; amis 所在服务器,限制了文件上传大小不得超出 10M所以 amis 在用户选择大文件的时候,自动会改成分块上传模式。</li>\n<li><code>chunkSize</code> 分块大小,默认为 5M.</li>\n<li><code>startChunkApi</code> 默认 <code>/api/upload/startChunk</code> 想自己存储时才需要关注。</li>\n<li><code>chunkApi</code> 默认 <code>/api/upload/chunk</code> 想自己存储时才需要关注。</li>\n<li><code>finishChunkApi</code> 默认 <code>/api/upload/finishChunk</code> 想自己存储时才需要关注。</li>\n<li><strong>还有更多通用配置请参考</strong> <a href=\"/amis/docs/renderers/Form/FormItem\">FormItem</a></li>\n</ul>\n<div class=\"amis-preview\" style=\"height: 450px\"><script type=\"text/schema\" height=\"450\" scope=\"form-item\">{\n \"type\": \"file\",\n \"name\": \"file\",\n \"label\": \"File\",\n \"maxSize\": 1048576\n}\n</script></div>\n<p>如果不希望 File 控件接管上传,可以配置 <code>asBlob</code> 或者 <code>asBase64</code> 这两个属性二选一采用这种方式后File 控件不再自己上传了,而是直接把文件数据作为表单项的值,文件内容会在 Form 表单提交的接口里面一起带上。</p>\n\n\n<div class=\"m-t-lg b-l b-info b-3x wrapper bg-light dk\">文档内容有误?欢迎大家一起来编写,文档地址:<i class=\"fa fa-github\"></i><a href=\"https://github.com/baidu/amis/tree/master/docs/renderers/Form/File.md\">/docs/renderers/Form/File.md</a>。</div>", "html": "<h3><a class=\"anchor\" name=\"file\" href=\"#file\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>File</h3><p>用来负责文件上传,文件上传成功后会返回文件地址,这个文件地址会作为这个表单项的值,整个表单提交的时候,其实提交的是文件地址,文件上传已经在这个控件中完成了。</p>\n<ul>\n<li><code>type</code> 请设置成 <code>file</code></li>\n<li><code>reciever</code> 默认 <code>/api/upload/file</code> 如果想自己存储,请设置此选项。(PS: 如果想存自己的 bos, 系统配置中可以直接填写自己的 bos 配置。)</li>\n<li><code>accept</code> 默认 <code>text/plain</code> 默认只支持纯文本,要支持其他类型,请配置此属性。</li>\n<li><code>maxSize</code> 默认没有限制,当设置后,文件大小大于此值将不允许上传。</li>\n<li><code>multiple</code> 是否多选。</li>\n<li><code>maxLength</code> 默认没有限制,当设置后,一次只允许上传指定数量文件。</li>\n<li><code>joinValues</code> 多选时是否将多个值用 <code>delimiter</code> 连接起来。</li>\n<li><code>extractValue</code> 默认为 <code>false</code>, <code>joinValues</code>设置为<code>false</code>时生效, 开启后将选中的选项 value 的值封装为数组,作为当前表单项的值。</li>\n<li><code>delimiter</code> 链接符</li>\n<li><code>autoUpload</code> 是否选择完就自动开始上传默认为 <code>true</code></li>\n<li><code>fileField</code> 默认 <code>file</code>, 如果你不想自己存储,则可以忽略此属性。</li>\n<li><code>downloadUrl</code> 默认显示文件路径的时候会支持直接下载,可以支持加前缀如:<code>http://xx.dom/filename=</code> ,如果不希望这样,可以把当前配置项设置为 <code>false</code>。</li>\n<li><code>useChunk</code> 默认为 <code>auto</code>amis 所在服务器,限制了文件上传大小不得超出 10M所以 amis 在用户选择大文件的时候,自动会改成分块上传模式。</li>\n<li><code>chunkSize</code> 分块大小,默认为 5M.</li>\n<li><code>startChunkApi</code> 默认 <code>/api/upload/startChunk</code> 想自己存储时才需要关注。</li>\n<li><code>chunkApi</code> 默认 <code>/api/upload/chunk</code> 想自己存储时才需要关注。</li>\n<li><code>finishChunkApi</code> 默认 <code>/api/upload/finishChunk</code> 想自己存储时才需要关注。</li>\n<li><strong>还有更多通用配置请参考</strong> <a href=\"/amis/docs/renderers/Form/FormItem\">FormItem</a></li>\n</ul>\n<div class=\"amis-preview\" style=\"height: 450px\"><script type=\"text/schema\" height=\"450\" scope=\"form-item\">{\n \"type\": \"file\",\n \"name\": \"file\",\n \"label\": \"File\",\n \"maxSize\": 1048576\n}\n</script></div>\n<p>如果不希望 File 控件接管上传,可以配置 <code>asBlob</code> 或者 <code>asBase64</code> 这两个属性二选一采用这种方式后File 控件不再自己上传了,而是直接把文件数据作为表单项的值,文件内容会在 Form 表单提交的接口里面一起带上。</p>\n\n\n<div class=\"m-t-lg b-l b-info b-3x wrapper bg-light dk\">文档内容有误?欢迎大家一起来编写,文档地址:<i class=\"fa fa-github\"></i><a href=\"https://github.com/baidu/amis/tree/master/docs/renderers/Form/File.md\">/docs/renderers/Form/File.md</a>。</div>",
"toc": { "toc": {
"label": "目录", "label": "目录",
"type": "toc", "type": "toc",

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -1,7 +1,7 @@
define('docs/renderers/Form/Image.md', function(require, exports, module) { define('docs/renderers/Form/Image.md', function(require, exports, module) {
module.exports = { module.exports = {
"html": "<h3><a class=\"anchor\" name=\"image\" href=\"#image\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Image</h3><p>图片格式输入,默认 amis 会直接存储在 FEX 的 hiphoto 里面,提交到 form 是直接的图片 url。</p>\n<ul>\n<li><code>type</code> 请设置成 <code>image</code></li>\n<li><code>reciever</code> 默认 <code>/api/upload</code> 如果想自己存储,请设置此选项。</li>\n<li><code>multiple</code> 是否多选。</li>\n<li><code>maxLength</code> 默认没有限制,当设置后,一次只允许上传指定数量文件。</li>\n<li><code>joinValues</code> 多选时是否将多个值用 <code>delimiter</code> 连接起来。</li>\n<li><code>extractValue</code> 默认为 <code>false</code>, <code>joinValues</code>设置为<code>false</code>时生效, 开启后将选中的选项 value 的值封装为数组,作为当前表单项的值。</li>\n<li><code>delimiter</code> 连接符,默认是 <code>,</code>, 多选时且 <code>joinValues</code> 为 <code>true</code> 时用来连接值。</li>\n<li><code>autoUpload</code> 是否选择完就自动开始上传?默认为 <code>true</code></li>\n<li><code>compress</code> 默认 <code>true</code> 如果想默认压缩请开启。</li>\n<li><code>compressOptions</code><ul>\n<li><code>maxWidth</code> 设置最大宽度。</li>\n<li><code>maxHeight</code> 设置最大高度。</li>\n</ul>\n</li>\n<li><code>showCompressOptions</code> 默认为 false, 开启后,允许用户输入压缩选项。</li>\n<li><code>crop</code> 用来设置是否支持裁剪。<ul>\n<li><code>aspectRatio</code> 浮点型,默认 <code>1</code> 即 <code>1:1</code>,如果要设置 <code>16:9</code> 请设置 <code>1.7777777777777777</code> 即 <code>16 / 9</code>。</li>\n</ul>\n</li>\n<li><code>allowInput</code> 默认都是通过用户选择图片后上传返回图片地址,如果开启此选项,则可以允许用户图片地址。</li>\n<li><code>limit</code> 限制图片大小,超出不让上传。<ul>\n<li><code>width</code> 限制图片宽度。</li>\n<li><code>height</code> 限制图片高度。</li>\n<li><code>minWidth</code> 限制图片最小宽度。</li>\n<li><code>minHeight</code> 限制图片最小高度。</li>\n<li><code>maxWidth</code> 限制图片最大宽度。</li>\n<li><code>maxHeight</code> 限制图片最大高度。</li>\n</ul>\n</li>\n<li><strong>还有更多通用配置请参考</strong> <a href=\"/amis/docs/renderers/Form/FormItem\">FormItem</a></li>\n</ul>\n<div class=\"amis-preview\" style=\"height: 450px\"><script type=\"text/schema\" height=\"450\" scope=\"form-item\">{\n \"type\": \"image\",\n \"name\": \"image\",\n \"label\": \"Images\"\n}\n</script></div>\n\n\n<div class=\"m-t-lg b-l b-info b-3x wrapper bg-light dk\">文档内容有误?欢迎大家一起来编写,文档地址:<i class=\"fa fa-github\"></i><a href=\"https://github.com/baidu/amis/tree/master/docs/renderers/Form/Image.md\">/docs/renderers/Form/Image.md</a>。</div>", "html": "<h3><a class=\"anchor\" name=\"image\" href=\"#image\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Image</h3><p>图片格式输入,默认 amis 会直接存储在 FEX 的 hiphoto 里面,提交到 form 是直接的图片 url。</p>\n<ul>\n<li><code>type</code> 请设置成 <code>image</code></li>\n<li><code>reciever</code> 默认 <code>/api/upload</code> 如果想自己存储,请设置此选项。</li>\n<li><code>multiple</code> 是否多选。</li>\n<li><code>maxLength</code> 默认没有限制,当设置后,一次只允许上传指定数量文件。</li>\n<li><code>joinValues</code> 多选时是否将多个值用 <code>delimiter</code> 连接起来。</li>\n<li><code>extractValue</code> 默认为 <code>false</code>, <code>joinValues</code>设置为<code>false</code>时生效, 开启后将选中的选项 value 的值封装为数组,作为当前表单项的值。</li>\n<li><code>delimiter</code> 连接符,默认是 <code>,</code>, 多选时且 <code>joinValues</code> 为 <code>true</code> 时用来连接值。</li>\n<li><code>autoUpload</code> 是否选择完就自动开始上传?默认为 <code>true</code></li>\n<li><code>compress</code> 默认 <code>true</code> 如果想默认压缩请开启。</li>\n<li><code>compressOptions</code><ul>\n<li><code>maxWidth</code> 设置最大宽度。</li>\n<li><code>maxHeight</code> 设置最大高度。</li>\n</ul>\n</li>\n<li><code>showCompressOptions</code> 默认为 false, 开启后,允许用户输入压缩选项。</li>\n<li><code>crop</code> 用来设置是否支持裁剪。<ul>\n<li><code>aspectRatio</code> 浮点型,默认 <code>1</code> 即 <code>1:1</code>,如果要设置 <code>16:9</code> 请设置 <code>1.7777777777777777</code> 即 <code>16 / 9</code>。</li>\n</ul>\n</li>\n<li><code>allowInput</code> 默认都是通过用户选择图片后上传返回图片地址,如果开启此选项,则可以允许用户图片地址。</li>\n<li><code>limit</code> 限制图片大小,超出不让上传。<ul>\n<li><code>width</code> 限制图片宽度。</li>\n<li><code>height</code> 限制图片高度。</li>\n<li><code>minWidth</code> 限制图片最小宽度。</li>\n<li><code>minHeight</code> 限制图片最小高度。</li>\n<li><code>maxWidth</code> 限制图片最大宽度。</li>\n<li><code>maxHeight</code> 限制图片最大高度。</li>\n<li><code>aspectRatio</code> 限制图片宽高比,格式为浮点型数字,默认 <code>1</code> 即 <code>1:1</code>,如果要设置 <code>16:9</code> 请设置 <code>1.7777777777777777</code> 即 <code>16 / 9</code>。。</li>\n</ul>\n</li>\n<li><strong>还有更多通用配置请参考</strong> <a href=\"/amis/docs/renderers/Form/FormItem\">FormItem</a></li>\n</ul>\n<div class=\"amis-preview\" style=\"height: 450px\"><script type=\"text/schema\" height=\"450\" scope=\"form-item\">{\n \"type\": \"image\",\n \"name\": \"image\",\n \"label\": \"Images\"\n}\n</script></div>\n\n\n<div class=\"m-t-lg b-l b-info b-3x wrapper bg-light dk\">文档内容有误?欢迎大家一起来编写,文档地址:<i class=\"fa fa-github\"></i><a href=\"https://github.com/baidu/amis/tree/master/docs/renderers/Form/Image.md\">/docs/renderers/Form/Image.md</a>。</div>",
"toc": { "toc": {
"label": "目录", "label": "目录",
"type": "toc", "type": "toc",

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

File diff suppressed because one or more lines are too long

View File

@ -1,20 +0,0 @@
define('docs/renderers/Form/List.md', function(require, exports, module) {
module.exports = {
"html": "<h3><a class=\"anchor\" name=\"list-formitem-\" href=\"#list-formitem-\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>List(FormItem)</h3><p>简单的列表选择框。</p>\n<ul>\n<li><code>type</code> 请设置成 <code>list</code></li>\n<li><code>options</code> 选项配置,类型为数组,成员格式如下。<ul>\n<li><code>label</code> 文字</li>\n<li><code>value</code> 值</li>\n<li><code>image</code> 图片的 http 地址。</li>\n</ul>\n</li>\n<li><code>source</code> Api 地址,如果选项不固定,可以通过配置 <code>source</code> 动态拉取。</li>\n<li><code>multiple</code> 默认为 <code>false</code>, 设置成 <code>true</code> 表示可多选。</li>\n<li><code>joinValues</code> 默认为 <code>true</code></li>\n<li>单选模式:当用户选中某个选项时,选项中的 value 将被作为该表单项的值提交,否则,整个选项对象都会作为该表单项的值提交。</li>\n<li>多选模式:选中的多个选项的 <code>value</code> 会通过 <code>delimiter</code> 连接起来,否则直接将以数组的形式提交值。</li>\n<li><code>delimiter</code> 默认为 <code>,</code></li>\n<li><code>extractValue</code> 默认为 <code>false</code>, <code>joinValues</code>设置为<code>false</code>时生效, 开启后将选中的选项 value 的值封装为数组,作为当前表单项的值。</li>\n<li><strong>还有更多通用配置请参考</strong> <a href=\"/amis/docs/renderers/Form/FormItem\">FormItem</a></li>\n</ul>\n<p>单选</p>\n<div class=\"amis-preview\" style=\"height: 450px\"><script type=\"text/schema\" height=\"450\" scope=\"form\">[\n {\n \"type\": \"list\",\n \"name\": \"select\",\n \"label\": \"单选\",\n \"clearable\": true,\n \"options\": [\n {\n \"label\": \"Option A\",\n \"value\": \"a\"\n },\n {\n \"label\": \"Option B\",\n \"value\": \"b\"\n }\n ]\n },\n\n {\n \"type\": \"static\",\n \"name\": \"select\",\n \"label\": \"当前值\"\n }\n]\n</script></div>\n<p>多选</p>\n<div class=\"amis-preview\" style=\"height: 480px\"><script type=\"text/schema\" height=\"480\" scope=\"form\">[\n {\n \"type\": \"list\",\n \"name\": \"select\",\n \"label\": \"多选\",\n \"clearable\": true,\n \"multiple\": true,\n \"options\": [\n {\n \"label\": \"OptionA\",\n \"value\": \"a\"\n },\n {\n \"label\": \"OptionB\",\n \"value\": \"b\"\n },\n {\n \"label\": \"OptionC\",\n \"value\": \"c\"\n },\n {\n \"label\": \"OptionD\",\n \"value\": \"d\"\n }\n ]\n },\n\n {\n \"type\": \"static\",\n \"name\": \"select\",\n \"label\": \"当前值\"\n }\n]\n</script></div>\n<p>选项带图片</p>\n<div class=\"amis-preview\" style=\"height: 480px\"><script type=\"text/schema\" height=\"480\" scope=\"form\">[\n {\n \"type\": \"list\",\n \"name\": \"select\",\n \"label\": \"图片\",\n \"clearable\": true,\n \"options\": [\n {\n \"label\": \"OptionA\",\n \"value\": \"a\",\n \"image\": \"raw:https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=3893101144,2877209892&fm=23&gp=0.jpg\"\n },\n {\n \"label\": \"OptionB\",\n \"value\": \"b\",\n \"image\": \"raw:https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=3893101144,2877209892&fm=23&gp=0.jpg\"\n },\n {\n \"label\": \"OptionC\",\n \"value\": \"c\",\n \"image\": \"raw:https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=3893101144,2877209892&fm=23&gp=0.jpg\"\n },\n {\n \"label\": \"OptionD\",\n \"value\": \"d\",\n \"image\": \"raw:https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=3893101144,2877209892&fm=23&gp=0.jpg\"\n }\n ]\n },\n\n {\n \"type\": \"static\",\n \"name\": \"select\",\n \"label\": \"当前值\"\n }\n]\n</script></div>\n\n\n<div class=\"m-t-lg b-l b-info b-3x wrapper bg-light dk\">文档内容有误?欢迎大家一起来编写,文档地址:<i class=\"fa fa-github\"></i><a href=\"https://github.com/baidu/amis/tree/master/docs/renderers/Form/List.md\">/docs/renderers/Form/List.md</a>。</div>",
"toc": {
"label": "目录",
"type": "toc",
"children": [
{
"label": "List(FormItem)",
"fragment": "list-formitem-",
"fullPath": "#list-formitem-",
"level": 3
}
],
"level": 0
}
};
});

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -1,7 +1,7 @@
define('docs/renderers/Form/NestedSelect.md', function(require, exports, module) { define('docs/renderers/Form/NestedSelect.md', function(require, exports, module) {
module.exports = { module.exports = {
"html": "<h3><a class=\"anchor\" name=\"nestedselect\" href=\"#nestedselect\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>NestedSelect</h3><p>树形结构选择框。</p>\n<ul>\n<li><code>type</code> 请设置成 <code>nested-select</code></li>\n<li><code>options</code> 类似于 <a href=\"/amis/docs/renderers/Form/Select\">select</a> 中 <code>options</code>, 并且支持通过 <code>children</code> 无限嵌套。</li>\n<li><code>source</code> Api 地址,如果选项不固定,可以通过配置 <code>source</code> 动态拉取。</li>\n<li><code>multiple</code> 默认为 <code>false</code>, 设置成 <code>true</code> 表示可多选。</li>\n<li><code>joinValues</code> 默认为 <code>true</code></li>\n<li>单选模式:当用户选中某个选项时,选项中的 value 将被作为该表单项的值提交,否则,整个选项对象都会作为该表单项的值提交。</li>\n<li>多选模式:选中的多个选项的 <code>value</code> 会通过 <code>delimiter</code> 连接起来,否则直接将以数组的形式提交值。</li>\n<li><code>extractValue</code> 默认为 <code>false</code>, <code>joinValues</code>设置为<code>false</code>时生效, 开启后将选中的选项 value 的值封装为数组,作为当前表单项的值。</li>\n<li><code>delimiter</code> 默认为 <code>,</code></li>\n<li><strong>还有更多通用配置请参考</strong> <a href=\"/amis/docs/renderers/Form/FormItem\">FormItem</a></li>\n</ul>\n<div class=\"amis-preview\" style=\"height: 500px\"><script type=\"text/schema\" height=\"500\" scope=\"form-item\">{\n \"type\": \"nested-select\",\n \"name\": \"nestedSelect\",\n \"label\": \"级联选择器\",\n \"size\": \"sm\",\n \"options\": [\n {\n \"label\": \"A\",\n \"value\": \"a\"\n },\n {\n \"label\": \"B\",\n \"value\": \"b\",\n \"children\": [\n {\n \"label\": \"B-1\",\n \"value\": \"b-1\"\n },\n {\n \"label\": \"B-2\",\n \"value\": \"b-2\"\n },\n {\n \"label\": \"B-3\",\n \"value\": \"b-3\"\n }\n ]\n },\n {\n \"label\": \"C\",\n \"value\": \"c\"\n }\n ]\n}\n</script></div>\n\n\n<div class=\"m-t-lg b-l b-info b-3x wrapper bg-light dk\">文档内容有误?欢迎大家一起来编写,文档地址:<i class=\"fa fa-github\"></i><a href=\"https://github.com/baidu/amis/tree/master/docs/renderers/Form/NestedSelect.md\">/docs/renderers/Form/NestedSelect.md</a>。</div>", "html": "<h3><a class=\"anchor\" name=\"nestedselect\" href=\"#nestedselect\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>NestedSelect</h3><p>树形结构选择框。</p>\n<ul>\n<li><code>type</code> 请设置成 <code>nested-select</code></li>\n<li><code>options</code> 类似于 <a href=\"/amis/docs/renderers/Form/Select\">select</a> 中 <code>options</code>, 并且支持通过 <code>children</code> 无限嵌套。</li>\n<li><code>source</code> Api 地址,如果选项不固定,可以通过配置 <code>source</code> 动态拉取。</li>\n<li><code>multiple</code> 默认为 <code>false</code>, 设置成 <code>true</code> 表示可多选。</li>\n<li><code>joinValues</code> 默认为 <code>true</code></li>\n<li>单选模式:当用户选中某个选项时,选项中的 value 将被作为该表单项的值提交,否则,整个选项对象都会作为该表单项的值提交。</li>\n<li>多选模式:选中的多个选项的 <code>value</code> 会通过 <code>delimiter</code> 连接起来,否则直接将以数组的形式提交值。</li>\n<li><code>extractValue</code> 默认为 <code>false</code>, <code>joinValues</code>设置为<code>false</code>时生效, 开启后将选中的选项 value 的值封装为数组,作为当前表单项的值。</li>\n<li><code>delimiter</code> 默认为 <code>,</code></li>\n<li><code>autoFill</code> 将当前已选中的选项的某个字段的值自动填充到表单中某个表单项中,只在单选时有效<ul>\n<li><code>autoFill</code>的格式为<code>{address: &quot;${label}&quot;}</code>,表示将选中项中的<code>label</code>的值,自动填充到当前表单项中<code>name</code> 为<code>address</code> 中</li>\n</ul>\n</li>\n<li><strong>还有更多通用配置请参考</strong> <a href=\"/amis/docs/renderers/Form/FormItem\">FormItem</a></li>\n</ul>\n<div class=\"amis-preview\" style=\"height: 500px\"><script type=\"text/schema\" height=\"500\" scope=\"form-item\">{\n \"type\": \"nested-select\",\n \"name\": \"nestedSelect\",\n \"label\": \"级联选择器\",\n \"size\": \"sm\",\n \"options\": [\n {\n \"label\": \"A\",\n \"value\": \"a\"\n },\n {\n \"label\": \"B\",\n \"value\": \"b\",\n \"children\": [\n {\n \"label\": \"B-1\",\n \"value\": \"b-1\"\n },\n {\n \"label\": \"B-2\",\n \"value\": \"b-2\"\n },\n {\n \"label\": \"B-3\",\n \"value\": \"b-3\"\n }\n ]\n },\n {\n \"label\": \"C\",\n \"value\": \"c\"\n }\n ]\n}\n</script></div>\n\n\n<div class=\"m-t-lg b-l b-info b-3x wrapper bg-light dk\">文档内容有误?欢迎大家一起来编写,文档地址:<i class=\"fa fa-github\"></i><a href=\"https://github.com/baidu/amis/tree/master/docs/renderers/Form/NestedSelect.md\">/docs/renderers/Form/NestedSelect.md</a>。</div>",
"toc": { "toc": {
"label": "目录", "label": "目录",
"type": "toc", "type": "toc",

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -1,20 +0,0 @@
define('docs/renderers/Form/Radios.md', function(require, exports, module) {
module.exports = {
"html": "<h3><a class=\"anchor\" name=\"radios\" href=\"#radios\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Radios</h3><p>单选框</p>\n<ul>\n<li><code>type</code> 请设置成 <code>radios</code></li>\n<li><code>options</code> 选项配置,类型为数组,成员格式如下。<ul>\n<li><code>label</code> 文字</li>\n<li><code>value</code> 值</li>\n</ul>\n</li>\n<li><code>source</code> Api 地址,如果选项不固定,可以通过配置 <code>source</code> 动态拉取。</li>\n<li><code>columnsCount</code> 默认为 <code>1</code> 可以配置成一行显示多个。</li>\n<li><strong>还有更多通用配置请参考</strong> <a href=\"/amis/docs/renderers/Form/FormItem\">FormItem</a></li>\n</ul>\n<div class=\"amis-preview\" style=\"height: 530px\"><script type=\"text/schema\" height=\"530\" scope=\"form\">[\n {\n \"name\": \"radios\",\n \"type\": \"radios\",\n \"label\": \"Radios\",\n \"options\": [\n {\n \"label\": \"OptionA\",\n \"value\": \"a\"\n },\n {\n \"label\": \"OptionB\",\n \"value\": \"b\"\n },\n {\n \"label\": \"OptionC\",\n \"value\": \"c\"\n },\n {\n \"label\": \"OptionD\",\n \"value\": \"d\"\n }\n ]\n },\n\n {\n \"type\": \"static\",\n \"name\": \"radios\",\n \"label\": \"当前值\"\n }\n]\n</script></div>\n\n\n<div class=\"m-t-lg b-l b-info b-3x wrapper bg-light dk\">文档内容有误?欢迎大家一起来编写,文档地址:<i class=\"fa fa-github\"></i><a href=\"https://github.com/baidu/amis/tree/master/docs/renderers/Form/Radios.md\">/docs/renderers/Form/Radios.md</a>。</div>",
"toc": {
"label": "目录",
"type": "toc",
"children": [
{
"label": "Radios",
"fragment": "radios",
"fullPath": "#radios",
"level": 3
}
],
"level": 0
}
};
});

View File

@ -0,0 +1,20 @@
define('docs/renderers/Form/Radios.md', function(require, exports, module) {
module.exports = {
"html": "<h3><a class=\"anchor\" name=\"radios\" href=\"#radios\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Radios</h3><p>单选框</p>\n<ul>\n<li><code>type</code> 请设置成 <code>radios</code></li>\n<li><code>options</code> 选项配置,类型为数组,成员格式如下。<ul>\n<li><code>label</code> 文字</li>\n<li><code>value</code> 值</li>\n</ul>\n</li>\n<li><code>source</code> Api 地址,如果选项不固定,可以通过配置 <code>source</code> 动态拉取。</li>\n<li><code>columnsCount</code> 默认为 <code>1</code> 可以配置成一行显示多个。</li>\n<li><code>autoFill</code> 将当前已选中的选项的某个字段的值自动填充到表单中某个表单项中。<ul>\n<li><code>autoFill</code>的格式为<code>{address: &quot;${label}&quot;}</code>,表示将选中项中的<code>label</code>的值,自动填充到当前表单项中<code>name</code> 为<code>address</code> 中</li>\n</ul>\n</li>\n<li><strong>还有更多通用配置请参考</strong> <a href=\"/amis/docs/renderers/Form/FormItem\">FormItem</a></li>\n</ul>\n<div class=\"amis-preview\" style=\"height: 530px\"><script type=\"text/schema\" height=\"530\" scope=\"form\">[\n {\n \"name\": \"radios\",\n \"type\": \"radios\",\n \"label\": \"Radios\",\n \"options\": [\n {\n \"label\": \"OptionA\",\n \"value\": \"a\"\n },\n {\n \"label\": \"OptionB\",\n \"value\": \"b\"\n },\n {\n \"label\": \"OptionC\",\n \"value\": \"c\"\n },\n {\n \"label\": \"OptionD\",\n \"value\": \"d\"\n }\n ]\n },\n\n {\n \"type\": \"static\",\n \"name\": \"radios\",\n \"label\": \"当前值\"\n }\n]\n</script></div>\n\n\n<div class=\"m-t-lg b-l b-info b-3x wrapper bg-light dk\">文档内容有误?欢迎大家一起来编写,文档地址:<i class=\"fa fa-github\"></i><a href=\"https://github.com/baidu/amis/tree/master/docs/renderers/Form/Radios.md\">/docs/renderers/Form/Radios.md</a>。</div>",
"toc": {
"label": "目录",
"type": "toc",
"children": [
{
"label": "Radios",
"fragment": "radios",
"fullPath": "#radios",
"level": 3
}
],
"level": 0
}
};
});

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

View File

@ -25,8 +25,8 @@
<body> <body>
<div id="root" class="app-wrapper"></div> <div id="root" class="app-wrapper"></div>
<script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script> <script src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/npm_2e09c02.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_2a94862.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/examples/index.html_map_3632694.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_9700cf4.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/app_978633e.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rich-text_cfdb05c.js"></script>
<script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script> <script type="text/javascript" src="https://bce.bdstatic.com/fex/amis-gh-pages/pkg/rest_c4aabc1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

Some files were not shown because too many files have changed in this diff Show More