Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加思维导图 #2058

Merged
merged 1 commit into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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