CINXE.COM
文心快码(Baidu Comate)·更懂你的智能代码助手
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/css/bd74fea13a2175aa.css" crossorigin="" data-precedence="next"/><link rel="stylesheet" href="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/css/71283be3b476b09d.css" crossorigin="" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/webpack-12aac77e98a3019d.js" crossorigin=""/><script src="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/fd9d1056-60290428832492cb.js" async="" crossorigin=""></script><script src="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/8069-af6709e26675b0f1.js" async="" crossorigin=""></script><script src="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/main-app-c1b57ef52b3c4e6f.js" async="" crossorigin=""></script><script src="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/e37a0b60-eb145f78f9f19a65.js" async=""></script><script src="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/4270-b81c3e3dee86275c.js" async=""></script><script src="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/8387-bbd279a2c5b9f235.js" async=""></script><script src="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/4895-f7dca7c0d9f4de5f.js" async=""></script><script src="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/8634-635756d29caf830d.js" async=""></script><script src="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/3695-db3df9731bb1e926.js" async=""></script><script src="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/1749-b9958a459269d65a.js" async=""></script><script src="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/3646-a2eee6d6184e460a.js" async=""></script><script src="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/4134-18e495a3f55ab941.js" async=""></script><script src="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/8629-3a683e1bc0a3b41a.js" async=""></script><script src="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/2169-e94c26b9a9f7d2ed.js" async=""></script><script src="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/9389-30d24a6907b64519.js" async=""></script><script src="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/2854-f70e1072cc3ff83b.js" async=""></script><script src="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/1858-ab448551c79b7508.js" async=""></script><script src="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/588-f3500702f988aa3e.js" async=""></script><script src="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/4106-20d5b412bab89cde.js" async=""></script><script src="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/1716-30d8a2e2844a1200.js" async=""></script><script src="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/5593-1365414e7996cfae.js" async=""></script><script src="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/5935-7724e2267932ca7a.js" async=""></script><script src="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/3434-a069d0ff7bc2b268.js" async=""></script><script src="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/1924-e4a7741fd2e8c126.js" async=""></script><script src="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/4797-d2e6b021e42601c9.js" async=""></script><script src="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/5466-a474ab60979a9f81.js" async=""></script><script src="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/4035-5f51024c58b148d3.js" async=""></script><script src="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/9791-2bcfbacfdbd91ea8.js" async=""></script><script src="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/2527-a1f3c5e8772fc38c.js" async=""></script><script src="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/app/%5Blng%5D/page-81369944cabd8a38.js" async=""></script><script src="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/app/%5Blng%5D/layout-58f5bcd8eca9743c.js" async=""></script><script src="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/app/layout-e62af631dbb3e63f.js" async=""></script><link rel="preload" href="https://passport.baidu.com/passApi/js/uni_login_wrapper.js" as="script"/><title>文心快码(Baidu Comate)·更懂你的智能代码助手</title><meta name="description" content="文心快码(Baidu Comate)是由百度基于文心大模型研发的编程辅助工具,可提供自动代码生成、单元测试生成、注释生成以及智能问答等功能。支持上百种编程语言,旨在帮助开发者大幅提升编码效率。使用Comate,让编程更加高效和便捷。"/><meta name="keywords" content="代码生成, 百度 comate, 代码助手, 百度comate, Baidu Comate, 代码生成器, AI助手, Comate, 智能编码助手, AI编程, 单元测试, 智能问答, copilot, 编程工具, AI辅助编程, AI写代码, AI代码生成, 代码工具, 模型生成代码, 提升编码效率, AI编程助手, 自动代码补全, 代码优化, AI代码审查, 智能代码提示, 快速编程, 开发者工具, 代码质量提升, AI驱动编程, 代码重构, AI代码优化, 编程效率提升, AI代码建议, 代码自动化测试, 编程效率工具, AI代码助手, AI编程代码助手"/><link rel="icon" href="/favicon.ico" type="image/x-icon" sizes="40x40"/><script>(self.__next_s=self.__next_s||[]).push(["https://passport.baidu.com/passApi/js/uni_login_wrapper.js",{}])</script><script src="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js" crossorigin="" noModule=""></script><style id="antd-cssinjs" data-rc-order="prepend" data-rc-priority="-1000">.anticon{display:inline-flex;align-items:center;color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-0.125em;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}.anticon >*{line-height:1;}.anticon svg{display:inline-block;}.anticon .anticon .anticon-icon{display:block;}.data-ant-cssinjs-cache-path{content:"1rvolt1|ant-design-icons|anticon:13rfs6x";}</style></head><body class="code-block-dark"><html lang="zh" dir="ltr"><body><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--><script src="https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/chunks/webpack-12aac77e98a3019d.js" crossorigin="" async=""></script></body></html><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"0:\"$L1\"\n"])</script><script>self.__next_f.push([1,"2:HL[\"https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/css/bd74fea13a2175aa.css\",\"style\",{\"crossOrigin\":\"\"}]\n3:HL[\"https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/css/71283be3b476b09d.css\",\"style\",{\"crossOrigin\":\"\"}]\n"])</script><script>self.__next_f.push([1,"4:I[47690,[],\"\"]\n"])</script><script>self.__next_f.push([1,"6:I[58074,[\"1866\",\"static/chunks/e37a0b60-eb145f78f9f19a65.js\",\"4270\",\"static/chunks/4270-b81c3e3dee86275c.js\",\"8387\",\"static/chunks/8387-bbd279a2c5b9f235.js\",\"4895\",\"static/chunks/4895-f7dca7c0d9f4de5f.js\",\"8634\",\"static/chunks/8634-635756d29caf830d.js\",\"3695\",\"static/chunks/3695-db3df9731bb1e926.js\",\"1749\",\"static/chunks/1749-b9958a459269d65a.js\",\"3646\",\"static/chunks/3646-a2eee6d6184e460a.js\",\"4134\",\"static/chunks/4134-18e495a3f55ab941.js\",\"8629\",\"static/chunks/8629-3a683e1bc0a3b41a.js\",\"2169\",\"static/chunks/2169-e94c26b9a9f7d2ed.js\",\"9389\",\"static/chunks/9389-30d24a6907b64519.js\",\"2854\",\"static/chunks/2854-f70e1072cc3ff83b.js\",\"1858\",\"static/chunks/1858-ab448551c79b7508.js\",\"588\",\"static/chunks/588-f3500702f988aa3e.js\",\"4106\",\"static/chunks/4106-20d5b412bab89cde.js\",\"1716\",\"static/chunks/1716-30d8a2e2844a1200.js\",\"5593\",\"static/chunks/5593-1365414e7996cfae.js\",\"5935\",\"static/chunks/5935-7724e2267932ca7a.js\",\"3434\",\"static/chunks/3434-a069d0ff7bc2b268.js\",\"1924\",\"static/chunks/1924-e4a7741fd2e8c126.js\",\"4797\",\"static/chunks/4797-d2e6b021e42601c9.js\",\"5466\",\"static/chunks/5466-a474ab60979a9f81.js\",\"4035\",\"static/chunks/4035-5f51024c58b148d3.js\",\"9791\",\"static/chunks/9791-2bcfbacfdbd91ea8.js\",\"2527\",\"static/chunks/2527-a1f3c5e8772fc38c.js\",\"2866\",\"static/chunks/app/%5Blng%5D/page-81369944cabd8a38.js\"],\"\"]\n"])</script><script>self.__next_f.push([1,"7:I[85935,[\"5935\",\"static/chunks/5935-7724e2267932ca7a.js\",\"9695\",\"static/chunks/app/%5Blng%5D/layout-58f5bcd8eca9743c.js\"],\"\"]\n9:\"$Sreact.suspense\"\na:I[5613,[],\"\"]\nc:I[31778,[],\"\"]\nd:I[70877,[\"4270\",\"static/chunks/4270-b81c3e3dee86275c.js\",\"9389\",\"static/chunks/9389-30d24a6907b64519.js\",\"2854\",\"static/chunks/2854-f70e1072cc3ff83b.js\",\"5935\",\"static/chunks/5935-7724e2267932ca7a.js\",\"4797\",\"static/chunks/4797-d2e6b021e42601c9.js\",\"3185\",\"static/chunks/app/layout-e62af631dbb3e63f.js\"],\"\"]\ne:I[54101,[\"4270\",\"s"])</script><script>self.__next_f.push([1,"tatic/chunks/4270-b81c3e3dee86275c.js\",\"9389\",\"static/chunks/9389-30d24a6907b64519.js\",\"2854\",\"static/chunks/2854-f70e1072cc3ff83b.js\",\"5935\",\"static/chunks/5935-7724e2267932ca7a.js\",\"4797\",\"static/chunks/4797-d2e6b021e42601c9.js\",\"3185\",\"static/chunks/app/layout-e62af631dbb3e63f.js\"],\"ConfigProvider\"]\n1a:I[48955,[],\"\"]\n8:T536,"])</script><script>self.__next_f.push([1,"\n(function (d, s) {\n const js = d.createElement(s);\n const sc = d.getElementsByTagName(s)[0];\n\n js.src = 'https://dmpstatic.cdn.bcebos.com/weirwood-sdk/1/bundle.min.js';\n js.onload = function (params) {\n const defaultOptions = {\n common: {\n // 只支持如下字符:英文字母(大小写),数字(0-9),下划线(_),中划线(-),点(.),@符号\n buildid: '0.0.1',\n token: 'e05210e3887d4427b410b1d915a0228b',\n ignoreUrls: [\n // 本地开发屏蔽错误发送\n 'localhost',\n '127.0.0.1'\n ]\n },\n error: {\n collectWindowErrors: true,\n // promise异常\n collectUnhandledRejections: false,\n // 静态资源加载异常\n collectResourceLoadErrors: false,\n },\n perf: {\n // 性能数据PV日志会比较大,可以输入 sampleRate 进行采样,控制在 50 W左右\n sampleRate: 1,\n spa: true,\n history: true\n }\n };\n /* globals Weirwood */\n const client = Weirwood.init(defaultOptions);\n };\n sc.parentNode.insertBefore(js, sc);\n}(document, 'script'));"])</script><script>self.__next_f.push([1,"b:[\"lng\",\"zh\",\"d\"]\nf:[\"开始时间\",\"结束时间\"]\n12:[\"开始日期\",\"结束日期\"]\n13:[\"开始年份\",\"结束年份\"]\n14:[\"开始月份\",\"结束月份\"]\n15:[\"开始季度\",\"结束季度\"]\n16:[\"开始周\",\"结束周\"]\n"])</script><script>self.__next_f.push([1,"11:{\"placeholder\":\"请选择日期\",\"yearPlaceholder\":\"请选择年份\",\"quarterPlaceholder\":\"请选择季度\",\"monthPlaceholder\":\"请选择月份\",\"weekPlaceholder\":\"请选择周\",\"rangePlaceholder\":\"$12\",\"rangeYearPlaceholder\":\"$13\",\"rangeMonthPlaceholder\":\"$14\",\"rangeQuarterPlaceholder\":\"$15\",\"rangeWeekPlaceholder\":\"$16\",\"yearFormat\":\"YYYY年\",\"dayFormat\":\"D\",\"cellMeridiemFormat\":\"A\",\"monthBeforeYear\":false,\"locale\":\"zh_CN\",\"today\":\"今天\",\"now\":\"此刻\",\"backToToday\":\"返回今天\",\"ok\":\"确定\",\"timeSelect\":\"选择时间\",\"dateSelect\":\"选择日期\",\"weekSelect\":\"选择周\",\"clear\":\"清除\",\"month\":\"月\",\"year\":\"年\",\"previousMonth\":\"上个月 (翻页上键)\",\"nextMonth\":\"下个月 (翻页下键)\",\"monthSelect\":\"选择月份\",\"yearSelect\":\"选择年份\",\"decadeSelect\":\"选择年代\",\"previousYear\":\"上一年 (Control键加左方向键)\",\"nextYear\":\"下一年 (Control键加右方向键)\",\"previousDecade\":\"上一年代\",\"nextDecade\":\"下一年代\",\"previousCentury\":\"上一世纪\",\"nextCentury\":\"下一世纪\",\"cellDateFormat\":\"D\"}\n"])</script><script>self.__next_f.push([1,"17:{\"placeholder\":\"请选择时间\",\"rangePlaceholder\":\"$f\"}\n10:{\"lang\":\"$11\",\"timePickerLocale\":\"$17\"}\n1b:[]\n"])</script><script>self.__next_f.push([1,"1:[null,[\"$\",\"$L4\",null,{\"buildId\":\"Zjcn70OthWJKo2z3-LpT1\",\"assetPrefix\":\"https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38\",\"initialCanonicalUrl\":\"/zh\",\"initialTree\":[\"\",{\"children\":[[\"lng\",\"zh\",\"d\"],{\"children\":[\"__PAGE__?{\\\"lng\\\":\\\"zh\\\"}\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[[\"lng\",\"zh\",\"d\"],{\"children\":[\"__PAGE__\",{},[\"$L5\",[\"$\",\"$L6\",null,{\"lng\":\"zh\"}],null]]},[null,[\"$\",\"html\",null,{\"lang\":\"zh\",\"dir\":\"ltr\",\"children\":[[\"$\",\"$L7\",null,{\"children\":\"var _hmt = _hmt || [];\\n(function() {\\n var hm = document.createElement(\\\"script\\\");\\n hm.src = \\\"https://hm.baidu.com/hm.js?43292f796e231bcde84cccac45513614\\\";\\n var s = document.getElementsByTagName(\\\"script\\\")[0];\\n s.parentNode.insertBefore(hm, s);\\n})();\"}],[\"$\",\"$L7\",null,{\"children\":\"$8\"}],[\"$\",\"body\",null,{\"children\":[\"$\",\"$9\",null,{\"children\":[\"$\",\"$La\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"$b\",\"children\"],\"loading\":\"$undefined\",\"loadingStyles\":\"$undefined\",\"loadingScripts\":\"$undefined\",\"hasLoading\":false,\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$Lc\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\",\"styles\":[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/css/bd74fea13a2175aa.css\",\"precedence\":\"next\",\"crossOrigin\":\"\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"https://now.bdstatic.com/store/v2/f14cbf5/frontend/50cbb38/_next/static/css/71283be3b476b09d.css\",\"precedence\":\"next\",\"crossOrigin\":\"\"}]]}]}]}]]}],null]]},[null,[\"$\",\"html\",null,{\"lang\":\"$undefined\",\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"$L7\",null,{\"strategy\":\"beforeInteractive\",\"src\":\"https://passport.baidu.com/passApi/js/uni_login_wrapper.js\"}]}],[\"$\",\"body\",null,{\"className\":\"code-block-dark\",\"children\":[\"$\",\"$Ld\",null,{\"children\":[\"$\",\"$Le\",null,{\"locale\":{\"locale\":\"zh-cn\",\"Pagination\":{\"items_per_page\":\"条/页\",\"jump_to\":\"跳至\",\"jump_to_confirm\":\"确定\",\"page\":\"页\",\"prev_page\":\"上一页\",\"next_page\":\"下一页\",\"prev_5\":\"向前 5 页\",\"next_5\":\"向后 5 页\",\"prev_3\":\"向前 3 页\",\"next_3\":\"向后 3 页\",\"page_size\":\"页码\"},\"DatePicker\":{\"lang\":{\"placeholder\":\"请选择日期\",\"yearPlaceholder\":\"请选择年份\",\"quarterPlaceholder\":\"请选择季度\",\"monthPlaceholder\":\"请选择月份\",\"weekPlaceholder\":\"请选择周\",\"rangePlaceholder\":[\"开始日期\",\"结束日期\"],\"rangeYearPlaceholder\":[\"开始年份\",\"结束年份\"],\"rangeMonthPlaceholder\":[\"开始月份\",\"结束月份\"],\"rangeQuarterPlaceholder\":[\"开始季度\",\"结束季度\"],\"rangeWeekPlaceholder\":[\"开始周\",\"结束周\"],\"yearFormat\":\"YYYY年\",\"dayFormat\":\"D\",\"cellMeridiemFormat\":\"A\",\"monthBeforeYear\":false,\"locale\":\"zh_CN\",\"today\":\"今天\",\"now\":\"此刻\",\"backToToday\":\"返回今天\",\"ok\":\"确定\",\"timeSelect\":\"选择时间\",\"dateSelect\":\"选择日期\",\"weekSelect\":\"选择周\",\"clear\":\"清除\",\"month\":\"月\",\"year\":\"年\",\"previousMonth\":\"上个月 (翻页上键)\",\"nextMonth\":\"下个月 (翻页下键)\",\"monthSelect\":\"选择月份\",\"yearSelect\":\"选择年份\",\"decadeSelect\":\"选择年代\",\"previousYear\":\"上一年 (Control键加左方向键)\",\"nextYear\":\"下一年 (Control键加右方向键)\",\"previousDecade\":\"上一年代\",\"nextDecade\":\"下一年代\",\"previousCentury\":\"上一世纪\",\"nextCentury\":\"下一世纪\",\"cellDateFormat\":\"D\"},\"timePickerLocale\":{\"placeholder\":\"请选择时间\",\"rangePlaceholder\":[\"开始时间\",\"结束时间\"]}},\"TimePicker\":{\"placeholder\":\"请选择时间\",\"rangePlaceholder\":\"$f\"},\"Calendar\":\"$10\",\"global\":{\"placeholder\":\"请选择\"},\"Table\":{\"filterTitle\":\"筛选\",\"filterConfirm\":\"确定\",\"filterReset\":\"重置\",\"filterEmptyText\":\"无筛选项\",\"filterCheckall\":\"全选\",\"filterSearchPlaceholder\":\"在筛选项中搜索\",\"emptyText\":\"暂无数据\",\"selectAll\":\"全选当页\",\"selectInvert\":\"反选当页\",\"selectNone\":\"清空所有\",\"selectionAll\":\"全选所有\",\"sortTitle\":\"排序\",\"expand\":\"展开行\",\"collapse\":\"关闭行\",\"triggerDesc\":\"点击降序\",\"triggerAsc\":\"点击升序\",\"cancelSort\":\"取消排序\"},\"Modal\":{\"okText\":\"确定\",\"cancelText\":\"取消\",\"justOkText\":\"知道了\"},\"Tour\":{\"Next\":\"下一步\",\"Previous\":\"上一步\",\"Finish\":\"结束导览\"},\"Popconfirm\":{\"cancelText\":\"取消\",\"okText\":\"确定\"},\"Transfer\":{\"titles\":[\"\",\"\"],\"searchPlaceholder\":\"请输入搜索内容\",\"itemUnit\":\"项\",\"itemsUnit\":\"项\",\"remove\":\"删除\",\"selectCurrent\":\"全选当页\",\"removeCurrent\":\"删除当页\",\"selectAll\":\"全选所有\",\"deselectAll\":\"取消全选\",\"removeAll\":\"删除全部\",\"selectInvert\":\"反选当页\"},\"Upload\":{\"uploading\":\"文件上传中\",\"removeFile\":\"删除文件\",\"uploadError\":\"上传错误\",\"previewFile\":\"预览文件\",\"downloadFile\":\"下载文件\"},\"Empty\":{\"description\":\"暂无数据\"},\"Icon\":{\"icon\":\"图标\"},\"Text\":{\"edit\":\"编辑\",\"copy\":\"复制\",\"copied\":\"复制成功\",\"expand\":\"展开\",\"collapse\":\"收起\"},\"Form\":{\"optional\":\"(可选)\",\"defaultValidateMessages\":{\"default\":\"字段验证错误${label}\",\"required\":\"请输入${label}\",\"enum\":\"$${label}必须是其中一个[${enum}]\",\"whitespace\":\"$${label}不能为空字符\",\"date\":{\"format\":\"$${label}日期格式无效\",\"parse\":\"$${label}不能转换为日期\",\"invalid\":\"$${label}是一个无效日期\"},\"types\":{\"string\":\"$${label}不是一个有效的${type}\",\"method\":\"$${label}不是一个有效的${type}\",\"array\":\"$${label}不是一个有效的${type}\",\"object\":\"$${label}不是一个有效的${type}\",\"number\":\"$${label}不是一个有效的${type}\",\"date\":\"$${label}不是一个有效的${type}\",\"boolean\":\"$${label}不是一个有效的${type}\",\"integer\":\"$${label}不是一个有效的${type}\",\"float\":\"$${label}不是一个有效的${type}\",\"regexp\":\"$${label}不是一个有效的${type}\",\"email\":\"$${label}不是一个有效的${type}\",\"url\":\"$${label}不是一个有效的${type}\",\"hex\":\"$${label}不是一个有效的${type}\"},\"string\":{\"len\":\"$${label}须为${len}个字符\",\"min\":\"$${label}最少${min}个字符\",\"max\":\"$${label}最多${max}个字符\",\"range\":\"$${label}须在${min}-${max}字符之间\"},\"number\":{\"len\":\"$${label}必须等于${len}\",\"min\":\"$${label}最小值为${min}\",\"max\":\"$${label}最大值为${max}\",\"range\":\"$${label}须在${min}-${max}之间\"},\"array\":{\"len\":\"须为${len}个${label}\",\"min\":\"最少${min}个${label}\",\"max\":\"最多${max}个${label}\",\"range\":\"$${label}数量须在${min}-${max}之间\"},\"pattern\":{\"mismatch\":\"$${label}与模式不匹配${pattern}\"}}},\"Image\":{\"preview\":\"预览\"},\"QRCode\":{\"expired\":\"二维码过期\",\"refresh\":\"点击刷新\",\"scanned\":\"已扫描\"},\"ColorPicker\":{\"presetEmpty\":\"暂无\",\"transparent\":\"无色\",\"singleColor\":\"单色\",\"gradientColor\":\"渐变色\"}},\"children\":[\"$\",\"$La\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"loading\":\"$undefined\",\"loadingStyles\":\"$undefined\",\"loadingScripts\":\"$undefined\",\"hasLoading\":false,\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$Lc\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$L18\",\"notFoundStyles\":[],\"styles\":null}]}]}]}]]}],null]],\"initialHead\":[false,\"$L19\"],\"globalErrorComponent\":\"$1a\",\"missingSlots\":\"$W1b\"}]]\n"])</script><script>self.__next_f.push([1,"1c:T73a,"])</script><script>self.__next_f.push([1,"\n (function () {\n var pathname = window.location.pathname;\n var serach = window.location.search;\n var localStorageLng = localStorage.getItem('COMATE_LNG_FLAG');\n var PATHS = ['/pricing','/curriculums', '/download', '/user', '/shopping', '/feedback', '/login', '/gitee-login', '/readme', '/subscriptionAgreement', '/updateLog', '/userAgreement', '/chat'];\n if (!pathname.includes('/zh') \u0026\u0026 !pathname.includes('/en')) {\n if (PATHS.includes(pathname)) {\n if (!localStorageLng) {\n var _navigator;\n if (((_navigator = navigator) === null || _navigator === void 0 ? void 0 : _navigator.language) === 'zh-CN') {\n localStorage.setItem('COMATE_LNG_FLAG', 'zh');\n window.location.href = window.location.origin + '/zh' + pathname + serach;\n } else {\n localStorage.setItem('COMATE_LNG_FLAG', 'en');\n window.location.href = window.location.origin + '/en' + pathname + serach;\n }\n } else {\n window.location.href = window.location.origin + '/' + localStorageLng + pathname + serach;\n }\n } else {\n if (!localStorageLng) {\n var _navigator2;\n if (((_navigator2 = navigator) === null || _navigator2 === void 0 ? void 0 : _navigator2.language) === 'zh-CN') {\n localStorage.setItem('COMATE_LNG_FLAG', 'zh');\n window.location.href = window.location.origin + '/zh' + serach;\n } else {\n localStorage.setItem('COMATE_LNG_FLAG', 'en');\n window.location.href = window.location.origin + '/en' + serach;\n }\n } else {\n window.location.href = window.location.origin + '/' + localStorageLng + serach;\n }\n }\n }\n })();\n"])</script><script>self.__next_f.push([1,"18:[\"$\",\"html\",null,{\"children\":[\"$\",\"head\",null,{\"children\":[\"$\",\"$L7\",null,{\"children\":\"$1c\"}]}]}]\n"])</script><script>self.__next_f.push([1,"19:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"文心快码(Baidu Comate)·更懂你的智能代码助手\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"文心快码(Baidu Comate)是由百度基于文心大模型研发的编程辅助工具,可提供自动代码生成、单元测试生成、注释生成以及智能问答等功能。支持上百种编程语言,旨在帮助开发者大幅提升编码效率。使用Comate,让编程更加高效和便捷。\"}],[\"$\",\"meta\",\"4\",{\"name\":\"keywords\",\"content\":\"代码生成, 百度 comate, 代码助手, 百度comate, Baidu Comate, 代码生成器, AI助手, Comate, 智能编码助手, AI编程, 单元测试, 智能问答, copilot, 编程工具, AI辅助编程, AI写代码, AI代码生成, 代码工具, 模型生成代码, 提升编码效率, AI编程助手, 自动代码补全, 代码优化, AI代码审查, 智能代码提示, 快速编程, 开发者工具, 代码质量提升, AI驱动编程, 代码重构, AI代码优化, 编程效率提升, AI代码建议, 代码自动化测试, 编程效率工具, AI代码助手, AI编程代码助手\"}],[\"$\",\"link\",\"5\",{\"rel\":\"icon\",\"href\":\"/favicon.ico\",\"type\":\"image/x-icon\",\"sizes\":\"40x40\"}]]\n"])</script><script>self.__next_f.push([1,"5:null\n"])</script><script>self.__next_f.push([1,""])</script></body></html>