From 225df7b1e674d12bfff01496293cf1375c0cd062 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Tue, 30 Apr 2024 08:35:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=92=E4=BB=B6=E6=94=AF=E6=8C=81=E6=9C=80?= =?UTF-8?q?=E8=BF=91=E6=9B=B4=E6=96=B0=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/api/types.ts | 2 ++ src/views/plugin/PluginCardListView.vue | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 81c612fa..6871ebd0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "moviepilot", - "version": "1.8.5", + "version": "1.8.5-1", "private": true, "bin": "dist/service.js", "scripts": { diff --git a/src/api/types.ts b/src/api/types.ts index 279bc995..41e217fc 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -439,6 +439,8 @@ export interface Plugin { repo_url?: string // 变更历史 history?: { [key: string]: string } + // 添加时间 + add_time?: number } // 种子信息 diff --git a/src/views/plugin/PluginCardListView.vue b/src/views/plugin/PluginCardListView.vue index 55825f28..086627a6 100644 --- a/src/views/plugin/PluginCardListView.vue +++ b/src/views/plugin/PluginCardListView.vue @@ -43,6 +43,7 @@ const sortOptions = [ { title: '插件名称', value: 'plugin_name' }, { title: '作者', value: 'plugin_author' }, { title: '插件仓库', value: 'repo_url' }, + { title: '最新发布', value: 'add_time' }, ] // 已安装插件列表