feat: 添加配置面板

This commit is contained in:
2021-10-05 23:45:52 +08:00
parent 615ba6ffba
commit 44b4ef1a44
13 changed files with 524 additions and 124 deletions
+3 -3
View File
@@ -13,7 +13,7 @@ const authorContextMenu = [
{
key: "create",
text: "添加",
icon: <PlusOutlined style={{ color: "grey" }} />,
icon: <PlusOutlined />,
onClick: () => {
store.authors.push("作者信息");
},
@@ -21,7 +21,7 @@ const authorContextMenu = [
{
key: "delete",
text: "删除",
icon: <DeleteOutlined style={{ color: "grey" }} />,
icon: <DeleteOutlined />,
onClick: (index) => {
store.authors.splice(index, 1);
},
@@ -31,7 +31,7 @@ const blockContextMenu = [
{
key: "create",
text: "添加作者信息",
icon: <PlusOutlined style={{ color: "grey" }} />,
icon: <PlusOutlined />,
onClick: () => {
store.authors.push("【记谱者】 记谱");
},