Skip to content

Commit

Permalink
✨ feat: edit mode
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoudeyou committed Sep 3, 2021
1 parent fcb459f commit f3af8f7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/pages/list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ export default function List() {
status="403"
title="个人中心页"
subTitle="可以在这里对图表进行管理"
extra={<Button type="primary" onClick={() => Router.push('/')}>返回首页</Button>}
extra={
<>
<Button onClick={() => Router.push('/drawio?id=333')} danger>编辑图表</Button>
<Button style={{ marginLeft: 20 }} type="primary" onClick={() => Router.push('/')}>返回首页</Button>
</>
}
/>
);
}

1 comment on commit f3af8f7

@vercel
Copy link

@vercel vercel bot commented on f3af8f7 Sep 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.