Files
upage-git/upage/assets/js/1ec2c777.9bb5192e.js
2025-09-29 03:02:50 +00:00

1 line
14 KiB
JavaScript

"use strict";(self.webpackChunkupage_docs=self.webpackChunkupage_docs||[]).push([[154],{8784:(n,e,i)=>{i.d(e,{R:()=>d,x:()=>r});var s=i(7378);const l={},c=s.createContext(l);function d(n){const e=s.useContext(c);return s.useMemo(function(){return"function"==typeof n?n(e):{...e,...n}},[e,n])}function r(n){let e;return e=n.disableParentContext?"function"==typeof n.components?n.components(l):n.components||l:d(n.components),s.createElement(c.Provider,{value:e},n.children)}},8958:(n,e,i)=>{i.r(e),i.d(e,{assets:()=>h,contentTitle:()=>r,default:()=>x,frontMatter:()=>d,metadata:()=>s,toc:()=>t});const s=JSON.parse('{"id":"contributing/code-standards","title":"\u4ee3\u7801\u89c4\u8303","description":"UPage \u9879\u76ee\u9075\u5faa\u4e25\u683c\u7684\u4ee3\u7801\u89c4\u8303\u548c\u6700\u4f73\u5b9e\u8df5\uff0c\u4ee5\u786e\u4fdd\u4ee3\u7801\u8d28\u91cf\u548c\u4e00\u81f4\u6027\u3002\u672c\u6587\u6863\u6982\u8ff0\u4e86\u8fd9\u4e9b\u89c4\u8303\uff0c\u6240\u6709\u8d21\u732e\u8005\u5728\u63d0\u4ea4\u4ee3\u7801\u524d\u5e94\u786e\u4fdd\u9075\u5faa\u8fd9\u4e9b\u89c4\u8303\u3002","source":"@site/content/contributing/code-standards.md","sourceDirName":"contributing","slug":"/contributing/code-standards","permalink":"/upage/contributing/code-standards","draft":false,"unlisted":false,"editUrl":"https://github.com/halo-dev/upage/edit/main/docs/content/content/contributing/code-standards.md","tags":[],"version":"current","frontMatter":{"id":"code-standards","title":"\u4ee3\u7801\u89c4\u8303"},"sidebar":"tutorialSidebar","previous":{"title":"\u5f00\u53d1\u73af\u5883\u8bbe\u7f6e","permalink":"/upage/contributing/development-setup"},"next":{"title":"\u5de5\u4f5c\u6d41\u7a0b","permalink":"/upage/contributing/workflow"}}');var l=i(6106),c=i(8784);const d={id:"code-standards",title:"\u4ee3\u7801\u89c4\u8303"},r="\u4ee3\u7801\u89c4\u8303",h={},t=[{value:"JavaScript/TypeScript \u89c4\u8303",id:"javascripttypescript-\u89c4\u8303",level:2},{value:"\u4ee3\u7801\u68c0\u67e5",id:"\u4ee3\u7801\u68c0\u67e5",level:3},{value:"\u81ea\u52a8\u4fee\u590d",id:"\u81ea\u52a8\u4fee\u590d",level:3},{value:"\u4e3b\u8981\u89c4\u8303",id:"\u4e3b\u8981\u89c4\u8303",level:3},{value:"Git \u63d0\u4ea4\u89c4\u8303",id:"git-\u63d0\u4ea4\u89c4\u8303",level:2},{value:"\u7c7b\u578b (Type)",id:"\u7c7b\u578b-type",level:3},{value:"\u8303\u56f4 (Scope)",id:"\u8303\u56f4-scope",level:3},{value:"\u63cf\u8ff0 (Description)",id:"\u63cf\u8ff0-description",level:3},{value:"\u793a\u4f8b",id:"\u793a\u4f8b",level:3},{value:"CSS/SCSS \u89c4\u8303",id:"cssscss-\u89c4\u8303",level:2},{value:"\u547d\u540d\u7ea6\u5b9a",id:"\u547d\u540d\u7ea6\u5b9a",level:3},{value:"\u7ec4\u7ec7\u7ed3\u6784",id:"\u7ec4\u7ec7\u7ed3\u6784",level:3},{value:"\u53ef\u8bbf\u95ee\u6027\u6807\u51c6",id:"\u53ef\u8bbf\u95ee\u6027\u6807\u51c6",level:2},{value:"\u6d4b\u8bd5\u89c4\u8303",id:"\u6d4b\u8bd5\u89c4\u8303",level:2},{value:"\u6027\u80fd\u8003\u8651",id:"\u6027\u80fd\u8003\u8651",level:2},{value:"\u5b89\u5168\u6700\u4f73\u5b9e\u8df5",id:"\u5b89\u5168\u6700\u4f73\u5b9e\u8df5",level:2}];function o(n){const e={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,c.R)(),...n.components};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(e.header,{children:(0,l.jsx)(e.h1,{id:"\u4ee3\u7801\u89c4\u8303",children:"\u4ee3\u7801\u89c4\u8303"})}),"\n",(0,l.jsx)(e.p,{children:"UPage \u9879\u76ee\u9075\u5faa\u4e25\u683c\u7684\u4ee3\u7801\u89c4\u8303\u548c\u6700\u4f73\u5b9e\u8df5\uff0c\u4ee5\u786e\u4fdd\u4ee3\u7801\u8d28\u91cf\u548c\u4e00\u81f4\u6027\u3002\u672c\u6587\u6863\u6982\u8ff0\u4e86\u8fd9\u4e9b\u89c4\u8303\uff0c\u6240\u6709\u8d21\u732e\u8005\u5728\u63d0\u4ea4\u4ee3\u7801\u524d\u5e94\u786e\u4fdd\u9075\u5faa\u8fd9\u4e9b\u89c4\u8303\u3002"}),"\n",(0,l.jsx)(e.h2,{id:"javascripttypescript-\u89c4\u8303",children:"JavaScript/TypeScript \u89c4\u8303"}),"\n",(0,l.jsxs)(e.p,{children:["UPage \u4f7f\u7528 ",(0,l.jsx)(e.a,{href:"https://biomejs.dev/",children:"Biome"})," \u8fdb\u884c\u4ee3\u7801\u683c\u5f0f\u5316\u548c linting\u3002Biome \u662f\u4e00\u4e2a\u5feb\u901f\u7684\u4ee3\u7801\u683c\u5f0f\u5316\u5de5\u5177\u548c linter\uff0c\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u4fdd\u6301\u4ee3\u7801\u98ce\u683c\u7684\u4e00\u81f4\u6027\u3002"]}),"\n",(0,l.jsx)(e.h3,{id:"\u4ee3\u7801\u68c0\u67e5",children:"\u4ee3\u7801\u68c0\u67e5"}),"\n",(0,l.jsx)(e.p,{children:"\u5728\u63d0\u4ea4\u4ee3\u7801\u524d\uff0c\u8bf7\u786e\u4fdd\u60a8\u7684\u4ee3\u7801\u7b26\u5408\u9879\u76ee\u7684\u4ee3\u7801\u89c4\u8303\uff1a"}),"\n",(0,l.jsx)(e.pre,{children:(0,l.jsx)(e.code,{className:"language-bash",children:"pnpm check\n"})}),"\n",(0,l.jsx)(e.h3,{id:"\u81ea\u52a8\u4fee\u590d",children:"\u81ea\u52a8\u4fee\u590d"}),"\n",(0,l.jsx)(e.p,{children:"\u60a8\u4e5f\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u81ea\u52a8\u4fee\u590d\u683c\u5f0f\u95ee\u9898\uff1a"}),"\n",(0,l.jsx)(e.pre,{children:(0,l.jsx)(e.code,{className:"language-bash",children:"pnpm check --write\n"})}),"\n",(0,l.jsx)(e.h3,{id:"\u4e3b\u8981\u89c4\u8303",children:"\u4e3b\u8981\u89c4\u8303"}),"\n",(0,l.jsxs)(e.ul,{children:["\n",(0,l.jsxs)(e.li,{children:[(0,l.jsx)(e.strong,{children:"\u7f29\u8fdb"}),": \u4f7f\u7528 2 \u4e2a\u7a7a\u683c"]}),"\n",(0,l.jsxs)(e.li,{children:[(0,l.jsx)(e.strong,{children:"\u5206\u53f7"}),": \u5fc5\u987b\u4f7f\u7528\u5206\u53f7"]}),"\n",(0,l.jsxs)(e.li,{children:[(0,l.jsx)(e.strong,{children:"\u5f15\u53f7"}),": \u4f7f\u7528\u5355\u5f15\u53f7"]}),"\n",(0,l.jsxs)(e.li,{children:[(0,l.jsx)(e.strong,{children:"\u547d\u540d\u7ea6\u5b9a"}),":","\n",(0,l.jsxs)(e.ul,{children:["\n",(0,l.jsx)(e.li,{children:"\u53d8\u91cf\u548c\u51fd\u6570\u4f7f\u7528 camelCase"}),"\n",(0,l.jsx)(e.li,{children:"\u7c7b\u548c\u63a5\u53e3\u4f7f\u7528 PascalCase"}),"\n",(0,l.jsx)(e.li,{children:"\u5e38\u91cf\u4f7f\u7528 UPPER_SNAKE_CASE"}),"\n"]}),"\n"]}),"\n",(0,l.jsxs)(e.li,{children:[(0,l.jsx)(e.strong,{children:"\u7c7b\u578b\u6ce8\u89e3"}),": \u5c3d\u53ef\u80fd\u4f7f\u7528\u7c7b\u578b\u6ce8\u89e3\u63d0\u9ad8\u4ee3\u7801\u53ef\u8bfb\u6027\u548c\u7c7b\u578b\u5b89\u5168\u6027"]}),"\n",(0,l.jsxs)(e.li,{children:[(0,l.jsx)(e.strong,{children:"\u6ce8\u91ca"}),": \u5bf9\u590d\u6742\u903b\u8f91\u548c\u516c\u5171 API \u6dfb\u52a0\u9002\u5f53\u7684\u6ce8\u91ca"]}),"\n"]}),"\n",(0,l.jsx)(e.h2,{id:"git-\u63d0\u4ea4\u89c4\u8303",children:"Git \u63d0\u4ea4\u89c4\u8303"}),"\n",(0,l.jsxs)(e.p,{children:["\u6211\u4eec\u4f7f\u7528 ",(0,l.jsx)(e.a,{href:"https://www.conventionalcommits.org/",children:"Conventional Commits"})," \u89c4\u8303\u6765\u683c\u5f0f\u5316 Git \u63d0\u4ea4\u4fe1\u606f\u3002\u63d0\u4ea4\u4fe1\u606f\u5e94\u9075\u5faa\u4ee5\u4e0b\u683c\u5f0f\uff1a"]}),"\n",(0,l.jsx)(e.pre,{children:(0,l.jsx)(e.code,{children:"<type>(<scope>): <description>\n\n[optional body]\n\n[optional footer(s)]\n"})}),"\n",(0,l.jsx)(e.h3,{id:"\u7c7b\u578b-type",children:"\u7c7b\u578b (Type)"}),"\n",(0,l.jsx)(e.p,{children:"\u63d0\u4ea4\u7c7b\u578b\u5fc5\u987b\u662f\u4ee5\u4e0b\u4e4b\u4e00\uff1a"}),"\n",(0,l.jsxs)(e.ul,{children:["\n",(0,l.jsxs)(e.li,{children:[(0,l.jsx)(e.code,{children:"feat"}),": \u65b0\u529f\u80fd"]}),"\n",(0,l.jsxs)(e.li,{children:[(0,l.jsx)(e.code,{children:"fix"}),": \u4fee\u590d bug"]}),"\n",(0,l.jsxs)(e.li,{children:[(0,l.jsx)(e.code,{children:"docs"}),": \u6587\u6863\u66f4\u65b0"]}),"\n",(0,l.jsxs)(e.li,{children:[(0,l.jsx)(e.code,{children:"style"}),": \u4ee3\u7801\u98ce\u683c\u66f4\u6539\uff08\u4e0d\u5f71\u54cd\u4ee3\u7801\u529f\u80fd\uff09"]}),"\n",(0,l.jsxs)(e.li,{children:[(0,l.jsx)(e.code,{children:"refactor"}),": \u4ee3\u7801\u91cd\u6784\uff08\u65e2\u4e0d\u662f\u65b0\u529f\u80fd\uff0c\u4e5f\u4e0d\u662f\u4fee\u590d bug\uff09"]}),"\n",(0,l.jsxs)(e.li,{children:[(0,l.jsx)(e.code,{children:"perf"}),": \u6027\u80fd\u4f18\u5316"]}),"\n",(0,l.jsxs)(e.li,{children:[(0,l.jsx)(e.code,{children:"test"}),": \u6dfb\u52a0\u6216\u4fee\u6539\u6d4b\u8bd5"]}),"\n",(0,l.jsxs)(e.li,{children:[(0,l.jsx)(e.code,{children:"chore"}),": \u6784\u5efa\u8fc7\u7a0b\u6216\u8f85\u52a9\u5de5\u5177\u7684\u53d8\u52a8"]}),"\n",(0,l.jsxs)(e.li,{children:[(0,l.jsx)(e.code,{children:"ci"}),": CI \u914d\u7f6e\u6587\u4ef6\u548c\u811a\u672c\u7684\u66f4\u6539"]}),"\n",(0,l.jsxs)(e.li,{children:[(0,l.jsx)(e.code,{children:"revert"}),": \u56de\u6eda\u4e4b\u524d\u7684\u63d0\u4ea4"]}),"\n"]}),"\n",(0,l.jsx)(e.h3,{id:"\u8303\u56f4-scope",children:"\u8303\u56f4 (Scope)"}),"\n",(0,l.jsx)(e.p,{children:"\u8303\u56f4\u662f\u53ef\u9009\u7684\uff0c\u7528\u4e8e\u6307\u5b9a\u66f4\u6539\u7684\u8303\u56f4\uff08\u4f8b\u5982\u7ec4\u4ef6\u6216\u6587\u4ef6\u540d\uff09\u3002"}),"\n",(0,l.jsx)(e.h3,{id:"\u63cf\u8ff0-description",children:"\u63cf\u8ff0 (Description)"}),"\n",(0,l.jsx)(e.p,{children:"\u63cf\u8ff0\u662f\u5bf9\u66f4\u6539\u7684\u7b80\u77ed\u6458\u8981\uff1a"}),"\n",(0,l.jsxs)(e.ul,{children:["\n",(0,l.jsx)(e.li,{children:'\u4f7f\u7528\u73b0\u5728\u65f6\u6001\uff08"change"\uff0c\u800c\u4e0d\u662f"changed"\u6216"changes"\uff09'}),"\n",(0,l.jsx)(e.li,{children:"\u4e0d\u8981\u9996\u5b57\u6bcd\u5927\u5199"}),"\n",(0,l.jsx)(e.li,{children:"\u4e0d\u8981\u4ee5\u53e5\u53f7\u7ed3\u5c3e"}),"\n"]}),"\n",(0,l.jsx)(e.h3,{id:"\u793a\u4f8b",children:"\u793a\u4f8b"}),"\n",(0,l.jsx)(e.pre,{children:(0,l.jsx)(e.code,{children:"feat(editor): \u6dfb\u52a0\u62d6\u62fd\u8c03\u6574\u7ec4\u4ef6\u5927\u5c0f\u529f\u80fd\n\n\u6dfb\u52a0\u4e86\u4e00\u4e2a\u65b0\u7684\u62d6\u62fd\u53e5\u67c4\uff0c\u5141\u8bb8\u7528\u6237\u76f4\u63a5\u8c03\u6574\u7ec4\u4ef6\u7684\u5927\u5c0f\u3002\n\u540c\u65f6\u4f18\u5316\u4e86\u8c03\u6574\u8fc7\u7a0b\u4e2d\u7684\u6027\u80fd\u3002\n\nCloses #123\n"})}),"\n",(0,l.jsx)(e.pre,{children:(0,l.jsx)(e.code,{children:"fix: \u4fee\u590d\u7528\u6237\u8ba4\u8bc1\u5931\u8d25\u95ee\u9898\n\n\u4fee\u590d\u4e86\u5f53\u7528\u6237\u51ed\u8bc1\u5305\u542b\u7279\u6b8a\u5b57\u7b26\u65f6\u8ba4\u8bc1\u5931\u8d25\u7684\u95ee\u9898\u3002\n\nFixes #456\n"})}),"\n",(0,l.jsx)(e.h2,{id:"cssscss-\u89c4\u8303",children:"CSS/SCSS \u89c4\u8303"}),"\n",(0,l.jsx)(e.p,{children:"UPage \u4f7f\u7528 SCSS \u548c CSS Modules \u6765\u7ec4\u7ec7\u6837\u5f0f\u4ee3\u7801\u3002"}),"\n",(0,l.jsx)(e.h3,{id:"\u547d\u540d\u7ea6\u5b9a",children:"\u547d\u540d\u7ea6\u5b9a"}),"\n",(0,l.jsxs)(e.ul,{children:["\n",(0,l.jsx)(e.li,{children:"\u4f7f\u7528 kebab-case \u547d\u540d CSS \u7c7b\u548c ID"}),"\n",(0,l.jsx)(e.li,{children:"\u4f7f\u7528\u6709\u610f\u4e49\u7684\u540d\u79f0\uff0c\u907f\u514d\u8fc7\u4e8e\u7b80\u77ed\u6216\u62bd\u8c61\u7684\u540d\u79f0"}),"\n",(0,l.jsx)(e.li,{children:"\u4f7f\u7528 BEM\uff08Block Element Modifier\uff09\u547d\u540d\u65b9\u6cd5\u8bba"}),"\n"]}),"\n",(0,l.jsx)(e.h3,{id:"\u7ec4\u7ec7\u7ed3\u6784",children:"\u7ec4\u7ec7\u7ed3\u6784"}),"\n",(0,l.jsxs)(e.ul,{children:["\n",(0,l.jsxs)(e.li,{children:["\u5c06\u5168\u5c40\u6837\u5f0f\u653e\u5728 ",(0,l.jsx)(e.code,{children:"app/styles"})," \u76ee\u5f55\u4e0b"]}),"\n",(0,l.jsxs)(e.li,{children:["\u5c06\u7ec4\u4ef6\u7279\u5b9a\u6837\u5f0f\u653e\u5728\u7ec4\u4ef6\u540c\u7ea7\u76ee\u5f55\u4e0b\u7684 ",(0,l.jsx)(e.code,{children:".scss"})," \u6216 ",(0,l.jsx)(e.code,{children:".module.scss"})," \u6587\u4ef6\u4e2d"]}),"\n"]}),"\n",(0,l.jsx)(e.h2,{id:"\u53ef\u8bbf\u95ee\u6027\u6807\u51c6",children:"\u53ef\u8bbf\u95ee\u6027\u6807\u51c6"}),"\n",(0,l.jsxs)(e.p,{children:["UPage \u81f4\u529b\u4e8e\u521b\u5efa\u53ef\u8bbf\u95ee\u7684 Web \u5e94\u7528\u7a0b\u5e8f\u3002\u6240\u6709\u8d21\u732e\u7684\u4ee3\u7801\u5e94\u9075\u5faa ",(0,l.jsx)(e.a,{href:"https://www.w3.org/WAI/WCAG21/quickref/",children:"WCAG 2.1 AA"})," \u6807\u51c6\u3002"]}),"\n",(0,l.jsxs)(e.ul,{children:["\n",(0,l.jsx)(e.li,{children:"\u786e\u4fdd\u9002\u5f53\u7684\u989c\u8272\u5bf9\u6bd4\u5ea6"}),"\n",(0,l.jsx)(e.li,{children:"\u63d0\u4f9b\u66ff\u4ee3\u6587\u672c\u548c ARIA \u6807\u7b7e"}),"\n",(0,l.jsx)(e.li,{children:"\u786e\u4fdd\u952e\u76d8\u5bfc\u822a\u529f\u80fd"}),"\n",(0,l.jsx)(e.li,{children:"\u652f\u6301\u5c4f\u5e55\u9605\u8bfb\u5668"}),"\n"]}),"\n",(0,l.jsx)(e.h2,{id:"\u6d4b\u8bd5\u89c4\u8303",children:"\u6d4b\u8bd5\u89c4\u8303"}),"\n",(0,l.jsx)(e.p,{children:"\u6240\u6709\u65b0\u529f\u80fd\u548c bug \u4fee\u590d\u5e94\u5305\u542b\u9002\u5f53\u7684\u6d4b\u8bd5\uff1a"}),"\n",(0,l.jsxs)(e.ul,{children:["\n",(0,l.jsxs)(e.li,{children:[(0,l.jsx)(e.strong,{children:"\u5355\u5143\u6d4b\u8bd5"}),": \u6d4b\u8bd5\u5355\u4e2a\u51fd\u6570\u548c\u7ec4\u4ef6"]}),"\n",(0,l.jsxs)(e.li,{children:[(0,l.jsx)(e.strong,{children:"\u96c6\u6210\u6d4b\u8bd5"}),": \u6d4b\u8bd5\u591a\u4e2a\u7ec4\u4ef6\u6216\u529f\u80fd\u7684\u4ea4\u4e92"]}),"\n",(0,l.jsxs)(e.li,{children:[(0,l.jsx)(e.strong,{children:"\u7aef\u5230\u7aef\u6d4b\u8bd5"}),": \u6d4b\u8bd5\u5b8c\u6574\u7684\u7528\u6237\u6d41\u7a0b"]}),"\n"]}),"\n",(0,l.jsx)(e.p,{children:"\u6d4b\u8bd5\u5e94\u8be5\uff1a"}),"\n",(0,l.jsxs)(e.ul,{children:["\n",(0,l.jsx)(e.li,{children:"\u8986\u76d6\u6b63\u5e38\u548c\u8fb9\u7f18\u60c5\u51b5"}),"\n",(0,l.jsx)(e.li,{children:"\u6e05\u6670\u63cf\u8ff0\u6d4b\u8bd5\u7684\u76ee\u7684"}),"\n",(0,l.jsx)(e.li,{children:"\u4fdd\u6301\u72ec\u7acb\u6027\uff0c\u4e0d\u4f9d\u8d56\u4e8e\u5176\u4ed6\u6d4b\u8bd5\u7684\u72b6\u6001"}),"\n"]}),"\n",(0,l.jsx)(e.h2,{id:"\u6027\u80fd\u8003\u8651",children:"\u6027\u80fd\u8003\u8651"}),"\n",(0,l.jsx)(e.p,{children:"\u8d21\u732e\u7684\u4ee3\u7801\u5e94\u8003\u8651\u6027\u80fd\u5f71\u54cd\uff1a"}),"\n",(0,l.jsxs)(e.ul,{children:["\n",(0,l.jsx)(e.li,{children:"\u907f\u514d\u4e0d\u5fc5\u8981\u7684\u91cd\u65b0\u6e32\u67d3"}),"\n",(0,l.jsx)(e.li,{children:"\u4f18\u5316\u5927\u578b\u5217\u8868\u548c\u8868\u683c"}),"\n",(0,l.jsx)(e.li,{children:"\u61d2\u52a0\u8f7d\u5927\u578b\u8d44\u6e90"}),"\n",(0,l.jsx)(e.li,{children:"\u51cf\u5c11\u7f51\u7edc\u8bf7\u6c42"}),"\n",(0,l.jsx)(e.li,{children:"\u4f18\u5316\u6253\u5305\u5927\u5c0f"}),"\n"]}),"\n",(0,l.jsx)(e.h2,{id:"\u5b89\u5168\u6700\u4f73\u5b9e\u8df5",children:"\u5b89\u5168\u6700\u4f73\u5b9e\u8df5"}),"\n",(0,l.jsx)(e.p,{children:"\u6240\u6709\u4ee3\u7801\u5e94\u9075\u5faa\u5b89\u5168\u6700\u4f73\u5b9e\u8df5\uff1a"}),"\n",(0,l.jsxs)(e.ul,{children:["\n",(0,l.jsx)(e.li,{children:"\u9632\u6b62 XSS \u653b\u51fb"}),"\n",(0,l.jsx)(e.li,{children:"\u907f\u514d SQL \u6ce8\u5165"}),"\n",(0,l.jsx)(e.li,{children:"\u6b63\u786e\u5904\u7406\u7528\u6237\u8f93\u5165"}),"\n",(0,l.jsx)(e.li,{children:"\u4fdd\u62a4\u654f\u611f\u6570\u636e"}),"\n",(0,l.jsx)(e.li,{children:"\u5b9e\u65bd\u9002\u5f53\u7684\u8bbf\u95ee\u63a7\u5236"}),"\n"]})]})}function x(n={}){const{wrapper:e}={...(0,c.R)(),...n.components};return e?(0,l.jsx)(e,{...n,children:(0,l.jsx)(o,{...n})}):o(n)}}}]);