From beb7d4e63b06cf1bc94026fc5d548115cfcc6b2c Mon Sep 17 00:00:00 2001 From: GuoHao Date: Tue, 11 Jun 2024 13:58:49 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E5=8C=B9=E9=85=8D?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=E6=9D=A1=E7=9B=AE=E5=89=A7=E9=9B=86=E9=99=84?= =?UTF-8?q?=E4=BB=B6=E7=BB=91=E5=AE=9A=20(#555)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * optimize: plus subject sync platform id max length to 100 for support subject detais url * feat: 添加匹配移除条目剧集附件绑定 * docs: update CHANGELOG.MD * docs: update CHANGELOG.MD --- CHANGELOG.MD | 5 + console/src/App.vue | 8 +- console/src/components/video/Artplayer.vue | 5 +- .../src/layouts/components/LanguageSelect.vue | 6 +- console/src/locales/en.yaml | 5 + console/src/locales/zh-CN.yaml | 5 + console/src/modules/common/constants.ts | 2 +- .../attachment/AttachmentDeatilDrawer.vue | 44 ++-- .../AttachmentDirectorySelectDialog.vue | 10 +- .../AttachmentFragmentUploadDrawer.vue | 12 +- .../AttachmentMultiSelectDialog.vue | 43 +++- .../attachment/AttachmentRelationsDialog.vue | 194 +++++++++------ .../attachment/AttachmentSelectDialog.vue | 29 ++- .../content/attachment/Attachments.vue | 118 +++++---- .../content/subject/EpisodeDetailsDialog.vue | 92 +++++-- .../content/subject/EpisodePostDialog.vue | 81 +++++-- .../content/subject/EpisodePutDialog.vue | 84 +++++-- .../content/subject/SubjectDetails.vue | 226 ++++++++++++++---- .../modules/content/subject/SubjectPost.vue | 65 +++-- .../modules/content/subject/SubjectPut.vue | 71 ++++-- .../subject/SubjectRelactionDeleteDrawer.vue | 21 +- .../subject/SubjectRelationDeleteDialog.vue | 34 ++- .../content/subject/SubjectRelationDialog.vue | 134 +++++++++-- .../subject/SubjectRelationPostDialog.vue | 81 +++++-- .../subject/SubjectRemoteActionDialog.vue | 34 ++- .../content/subject/SubjectSelectDrawer.vue | 82 +++++-- .../content/subject/SubjectSyncDialog.vue | 48 +++- .../src/modules/content/subject/Subjects.vue | 66 +++-- console/src/modules/dashboard/Dashboard.vue | 16 +- console/src/modules/system/plugin/Plugin.vue | 223 ++++++++++++----- .../modules/system/plugin/PluginDetail.vue | 40 +++- .../system/plugin/PluginUploadDrawer.vue | 2 +- .../src/modules/system/setting/Setting.vue | 89 +++++-- console/src/modules/user/Collection.vue | 40 +++- console/src/modules/user/Profile.vue | 8 +- console/src/stores/layout.ts | 2 +- console/src/utils/api-client.ts | 12 +- console/src/utils/file.ts | 2 +- console/src/views/exception/Exception.vue | 22 +- console/src/views/exception/NotFound.vue | 6 +- 40 files changed, 1513 insertions(+), 554 deletions(-) diff --git a/CHANGELOG.MD b/CHANGELOG.MD index 611564035..247dc74eb 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -8,6 +8,11 @@ - 添加关于是否展示web端主题的配置开关 - 浏览器记住console的多语言切换选择 #549 - 完善多语言翻译 #548 +- 添加匹配移除条目剧集附件绑定 #554 + +## 优化 + +- 条目同步的平台ID输入框最大字符限制提升到了100 ## 问题修复 diff --git a/console/src/App.vue b/console/src/App.vue index cc6f71020..97cdf7ad1 100644 --- a/console/src/App.vue +++ b/console/src/App.vue @@ -3,23 +3,21 @@ import { ElConfigProvider } from 'element-plus'; // import { getBrowserLanguage } from './locales'; import en from 'element-plus/dist/locale/en.mjs'; -import zhCn from 'element-plus/dist/locale/zh-cn.mjs' +import zhCn from 'element-plus/dist/locale/zh-cn.mjs'; import { useLayoutStore } from './stores/layout'; - // const language = getBrowserLanguage(); const layoutStore = useLayoutStore(); const i18nCode = layoutStore.i18nCode; let locale = zhCn; -console.debug('app i18n code', i18nCode) +console.debug('app i18n code', i18nCode); if ('en-US' === i18nCode || 'en' == i18nCode) { locale = en; } else if ('zhCn' === i18nCode || 'zh' === i18nCode) { locale = zhCn; -} - +} - + - +