企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# 城市选择 ![](https://box.kancloud.cn/2016-06-29_5773848fd34bc.png) ``` <select name="address[province]"></select> <select name="address[city]"></select> <select name="address[area]"></select> <script> require(['address'], function (a) { a.render({ //省份标签 province: document.querySelector('[name="address[province]"]'), //城市标签 city: document.querySelector('[name="address[city]"]'), //地区标签 area: document.querySelector('[name="address[area]"]'), }, { //默认省 province: '福建省', //默认市 city:'厦门市', //默认地区 area:'海沧区', }); }) </script> ```