fix(plugin): local source label and detection

This commit is contained in:
InfinityPacer
2026-04-19 02:54:09 +08:00
parent 48c12b765d
commit df66b3e917
5 changed files with 10 additions and 5 deletions

View File

@@ -118,7 +118,7 @@ const iconPath: Ref<string> = computed(() => {
function visitPluginPage() {
// 将raw.githubusercontent.com转换为项目地址
let repoUrl = props.plugin?.repo_url
if (repoUrl?.startsWith('local://')) {
if (props.plugin?.is_local || repoUrl?.startsWith('local://')) {
repoUrl = props.plugin?.author_url
}
if (repoUrl) {