diff --git a/pr-preview/pr-1215/404.html b/pr-preview/pr-1215/404.html index 01bbb2eca7..843f1c45f5 100644 --- a/pr-preview/pr-1215/404.html +++ b/pr-preview/pr-1215/404.html @@ -5,7 +5,7 @@ 找不到页面 | SCOW - + diff --git a/pr-preview/pr-1215/assets/js/ab8014e4.af3f20e0.js b/pr-preview/pr-1215/assets/js/ab8014e4.af3f20e0.js deleted file mode 100644 index a73d97ccfe..0000000000 --- a/pr-preview/pr-1215/assets/js/ab8014e4.af3f20e0.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_scow_docs=self.webpackChunk_scow_docs||[]).push([[834],{87513:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>l,contentTitle:()=>c,default:()=>o,frontMatter:()=>r,metadata:()=>t,toc:()=>h});var d=n(49214),i=n(5409);const r={sidebar_position:2,title:"\u5f00\u53d1UI\u6269\u5c55"},c="\u5f00\u53d1UI\u6269\u5c55",t={id:"integration/ui-extension/develop",title:"\u5f00\u53d1UI\u6269\u5c55",description:"\u8981\u4f7f\u7528UI\u6269\u5c55\uff0c\u60a8\u9996\u5148\u9700\u8981\u5f00\u53d1\u5e76\u6784\u5efa\u4e00\u4e2a\u4ece\u5916\u754c\u53ef\u4ee5\u8bbf\u95ee\u7684\u7f51\u7ad9\uff08\u79f0\u4e3a\u6269\u5c55\u7ad9\uff09\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u4efb\u4f55\u6280\u672f\u5f00\u53d1\u3001\u7ef4\u62a4\u548c\u90e8\u7f72\u6b64\u7f51\u7ad9\uff0c\u53ea\u9700\u8981\u6ee1\u8db3\u60a8\u7684\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u76f4\u63a5\u516c\u7f51\u8bbf\u95ee\u5373\u53ef\u3002",source:"@site/docs/integration/ui-extension/develop.md",sourceDirName:"integration/ui-extension",slug:"/integration/ui-extension/develop",permalink:"/SCOW/pr-preview/pr-1215/docs/integration/ui-extension/develop",draft:!1,unlisted:!1,editUrl:"https://github.com/PKUHPC/SCOW/edit/main/website/docs/integration/ui-extension/develop.md",tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2,title:"\u5f00\u53d1UI\u6269\u5c55"},sidebar:"integration",previous:{title:"UI\u6269\u5c55",permalink:"/SCOW/pr-preview/pr-1215/docs/integration/ui-extension/"}},l={},h=[{value:"\u4e0a\u4e0b\u6587\u53c2\u6570",id:"\u4e0a\u4e0b\u6587\u53c2\u6570",level:2},{value:"\u6269\u5c55\u9875",id:"\u6269\u5c55\u9875",level:2},{value:"\u914d\u7f6e\u63a5\u53e3",id:"\u914d\u7f6e\u63a5\u53e3",level:2},{value:"\u83b7\u53d6\u6e05\u5355\uff1aGET /api/manifests",id:"\u83b7\u53d6\u6e05\u5355get-apimanifests",level:4},{value:"\u91cd\u5199\u95e8\u6237\u7cfb\u7edf\u7684\u5bfc\u822a\u9879\uff1aPOST /api/portal/rewriteNavigations",id:"\u91cd\u5199\u95e8\u6237\u7cfb\u7edf\u7684\u5bfc\u822a\u9879post-apiportalrewritenavigations",level:3},{value:"\u91cd\u5199\u7ba1\u7406\u7cfb\u7edf\u7684\u5bfc\u822a\u9879\uff1aPOST /api/mis/rewriteNavigations",id:"\u91cd\u5199\u7ba1\u7406\u7cfb\u7edf\u7684\u5bfc\u822a\u9879post-apimisrewritenavigations",level:4},{value:"\u6ce8\u610f\u4e8b\u9879",id:"\u6ce8\u610f\u4e8b\u9879",level:2}];function x(e){const s={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.R)(),...e.components};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(s.h1,{id:"\u5f00\u53d1ui\u6269\u5c55",children:"\u5f00\u53d1UI\u6269\u5c55"}),"\n",(0,d.jsxs)(s.p,{children:["\u8981\u4f7f\u7528UI\u6269\u5c55\uff0c\u60a8\u9996\u5148\u9700\u8981\u5f00\u53d1\u5e76\u6784\u5efa\u4e00\u4e2a\u4ece\u5916\u754c\u53ef\u4ee5\u8bbf\u95ee\u7684\u7f51\u7ad9\uff08\u79f0\u4e3a",(0,d.jsx)(s.strong,{children:"\u6269\u5c55\u7ad9"}),"\uff09\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u4efb\u4f55\u6280\u672f\u5f00\u53d1\u3001\u7ef4\u62a4\u548c\u90e8\u7f72\u6b64\u7f51\u7ad9\uff0c\u53ea\u9700\u8981\u6ee1\u8db3\u60a8\u7684\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u76f4\u63a5\u516c\u7f51\u8bbf\u95ee\u5373\u53ef\u3002"]}),"\n",(0,d.jsx)(s.h2,{id:"\u4e0a\u4e0b\u6587\u53c2\u6570",children:"\u4e0a\u4e0b\u6587\u53c2\u6570"}),"\n",(0,d.jsx)(s.p,{children:"SCOW\u4f1a\u5728\u8bbf\u95ee\u6269\u5c55\u9875\u548c\u8c03\u7528\u67d0\u4e9b\u914d\u7f6e\u63a5\u53e3\u65f6\uff0c\u5c06\u4ee5\u4e0b\u53c2\u6570\u4f5c\u4e3a\u67e5\u8be2\u5b57\u7b26\u4e32\uff08querystring\uff09\u52a0\u5165\u8bbf\u95ee\u7684URL\uff0cUI\u6269\u5c55\u53ef\u4ee5\u901a\u8fc7\u8fd9\u4e9b\u53c2\u6570\u83b7\u53d6\u5f53\u524dSCOW\u7cfb\u7edf\u7684\u4fe1\u606f\u3002\u5177\u4f53\u54ea\u4e9b\u9875\u9762/API\u4f1a\u4f20\u9012\u8fd9\u4e9b\u53c2\u6570\u4f1a\u5728\u5177\u4f53\u7ae0\u8282\u91cc\u63d0\u5230\u3002"}),"\n",(0,d.jsxs)(s.table,{children:[(0,d.jsx)(s.thead,{children:(0,d.jsxs)(s.tr,{children:[(0,d.jsx)(s.th,{children:"\u53c2\u6570"}),(0,d.jsx)(s.th,{children:"\u53d6\u503c"}),(0,d.jsx)(s.th,{children:"\u89e3\u91ca"})]})}),(0,d.jsxs)(s.tbody,{children:[(0,d.jsxs)(s.tr,{children:[(0,d.jsx)(s.td,{children:(0,d.jsx)(s.code,{children:"scowDark"})}),(0,d.jsx)(s.td,{children:(0,d.jsx)(s.code,{children:'"true" | "false"'})}),(0,d.jsx)(s.td,{children:"\u5f53\u524dSCOW\u662f\u5426\u4ee5\u9ed1\u6697\u4e3b\u9898\u663e\u793a"})]}),(0,d.jsxs)(s.tr,{children:[(0,d.jsx)(s.td,{children:(0,d.jsx)(s.code,{children:"scowUserToken"})}),(0,d.jsx)(s.td,{children:(0,d.jsx)(s.code,{children:"string | undefined"})}),(0,d.jsx)(s.td,{children:"\u5f53\u524dSCOW\u7684\u767b\u5f55\u7528\u6237\u7684token\u3002\u53ef\u901a\u8fc7SCOW\u8ba4\u8bc1\u7cfb\u7edf\u63a5\u53e3\u67e5\u8be2\u767b\u5f55\u7528\u6237"})]}),(0,d.jsxs)(s.tr,{children:[(0,d.jsx)(s.td,{children:(0,d.jsx)(s.code,{children:"scowLangId"})}),(0,d.jsx)(s.td,{children:(0,d.jsx)(s.code,{children:"string"})}),(0,d.jsx)(s.td,{children:"\u5f53\u524dSCOW\u663e\u793a\u6240\u4f7f\u7528\u7684\u8bed\u8a00ID"})]})]})]}),"\n",(0,d.jsx)(s.h2,{id:"\u6269\u5c55\u9875",children:"\u6269\u5c55\u9875"}),"\n",(0,d.jsxs)(s.p,{children:["UI\u6269\u5c55\u7684\u529f\u80fd\u5e94\u5b9e\u73b0\u4e3a\u6807\u51c6\u7684\u7f51\u9875\u3002\u5f53\u8bbf\u95eeSCOW\u7684\u6269\u5c55\u8def\u5f84\u65f6\uff0cSCOW\u5c06\u4f1a\u5728\u5916\u5c42\u663e\u793aSCOW\u7684\u57fa\u7840\u5bfc\u822a\u7ed3\u6784\uff0c\u5e76\u5728\u9875\u9762\u4e3b\u8981\u90e8\u5206\u4f7f\u7528\u4e00\u4e2a",(0,d.jsx)(s.code,{children:"