feat: add HoloLake folder import and official assistant
This commit is contained in:
parent
46bdd0ca73
commit
a360982a9b
12 changed files with 507 additions and 76 deletions
|
|
@ -40,9 +40,10 @@ export function Editor({ doc, onSave }: Props) {
|
|||
|
||||
return (
|
||||
<div className="kb-editor">
|
||||
<div className="kb-page-symbol" aria-hidden="true">◇</div>
|
||||
{/* 元信息栏 */}
|
||||
<div className="kb-editor-meta">
|
||||
<span className="kb-editor-path">{doc.meta.id}</span>
|
||||
<span className="kb-editor-path">HoloLake / {doc.meta.id}</span>
|
||||
<span className="kb-editor-date">
|
||||
更新于 {new Date(doc.meta.updatedAt).toLocaleString('zh-CN')}
|
||||
</span>
|
||||
|
|
@ -71,7 +72,7 @@ export function Editor({ doc, onSave }: Props) {
|
|||
<button className="kb-btn-secondary" onClick={handleCancel}>取消</button>
|
||||
</>
|
||||
) : (
|
||||
<button className="kb-btn-primary" onClick={() => setEditing(true)}>编辑</button>
|
||||
<button className="kb-btn-primary" onClick={() => setEditing(true)}>编辑页面</button>
|
||||
)}
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue