Skip to content

Commit

Permalink
添加思维导图
Browse files Browse the repository at this point in the history
  • Loading branch information
SHL-COOL authored and fzlins committed Nov 19, 2024
1 parent 2725952 commit 06344ae
Show file tree
Hide file tree
Showing 9 changed files with 420 additions and 2 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
"parse-torrent": "^11.0.16",
"ua-parser-js": "^1.0.2",
"url-parse": "^1.5.10",
"simple-mind-map": "^0.12.1",
"simple-mind-map-plugin-themes": "^1.0.0",
"roughjs": "^4.6.6",
"vue": "~2.7.0",
"vue-class-component": "^6.3.2",
"vue-i18n": "^8.11.2",
Expand Down
5 changes: 4 additions & 1 deletion resource/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
"export": "Export",
"import": "Import",
"share": "Share",
"fullScreen": "FullScreen",
"rePosition": "RePosition",
"actionConfirm": "Are you sure you want to do this?",
"importFailed": "Import failed",
"importSuccess": "Import success",
Expand Down Expand Up @@ -812,7 +814,8 @@
"importConfig": "Import from config",
"importConfirm": "Are you sure you want to import [{name}] ?",
"importDuplicateConfirm": "The site {name} already exists. Do you need to import search entrys and plugins?",
"resetFavicons": "Reset site favicons"
"resetFavicons": "Reset site favicons",
"ptMindMap": "PT Site Mind Map"
}
},
"siteSearchEntry": {
Expand Down
5 changes: 4 additions & 1 deletion resource/i18n/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
"export": "导出",
"import": "导入",
"share": "分享",
"fullScreen": "全屏",
"rePosition": "复位",
"actionConfirm": "确认要进行此操作吗?",
"importFailed": "导入失败",
"importSuccess": "已成功导入",
Expand Down Expand Up @@ -807,7 +809,8 @@
"importConfig": "从文件导入",
"importConfirm": "确认要导入 【{name}】 吗?",
"importDuplicateConfirm": "该站点 【{name}】 已存在,是否需要导入搜索入口和插件?",
"resetFavicons": "重置站点图标缓存"
"resetFavicons": "重置站点图标缓存",
"ptMindMap": "PT站点思维导图"
}
},
"siteSearchEntry": {
Expand Down
8 changes: 8 additions & 0 deletions src/options/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,14 @@ export default new Router({
path: "/keep-upload-task",
name: "keep-upload-task",
component: () => import("./views/keepUpload/KeepUploadTasks.vue")
},
{
path: "/mind",
name: "mind",
component: () => import("./views/mindMap/Index.vue"),
meta: {
keepAlive: false
}
}
]
});
2 changes: 2 additions & 0 deletions src/options/typings.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
declare module "basiccontext";
declare module "highcharts-vue";
declare module "simple-mind-map-plugin-themes";
declare module "simple-mind-map/src/plugins/*";
Loading

0 comments on commit 06344ae

Please sign in to comment.