From 3722a7fb36416ff7e46022437068b15ee7034dbc Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Tue, 23 Aug 2022 14:41:34 +0800 Subject: [PATCH] perf: dropdown closes after click Signed-off-by: Ryan Wang --- src/modules/contents/attachments/AttachmentList.vue | 10 ++++++++++ .../attachments/components/AttachmentUploadModal.vue | 1 + src/modules/contents/pages/PageList.vue | 1 + src/modules/system/plugins/PluginList.vue | 4 ++++ .../system/plugins/components/PluginListItem.vue | 7 ++++++- src/modules/system/roles/RoleList.vue | 6 ++++++ src/modules/system/users/UserList.vue | 10 ++++++++++ 7 files changed, 38 insertions(+), 1 deletion(-) diff --git a/src/modules/contents/attachments/AttachmentList.vue b/src/modules/contents/attachments/AttachmentList.vue index 09fb22e6..67765c0f 100644 --- a/src/modules/contents/attachments/AttachmentList.vue +++ b/src/modules/contents/attachments/AttachmentList.vue @@ -156,16 +156,19 @@ const folders = [
  • 本地
  • 阿里云 OSS
  • Amazon S3 @@ -197,6 +200,7 @@ const folders = [
  • @@ -246,11 +250,13 @@ const folders = [
    • 未被引用
    • 文章 @@ -280,21 +286,25 @@ const folders = [
      • 较近上传
      • 较晚上传
      • 文件大小降序
      • 文件大小升序 diff --git a/src/modules/contents/attachments/components/AttachmentUploadModal.vue b/src/modules/contents/attachments/components/AttachmentUploadModal.vue index cf36c40c..896ff578 100644 --- a/src/modules/contents/attachments/components/AttachmentUploadModal.vue +++ b/src/modules/contents/attachments/components/AttachmentUploadModal.vue @@ -66,6 +66,7 @@ const onVisibleChange = (visible: boolean) => {
      • diff --git a/src/modules/contents/pages/PageList.vue b/src/modules/contents/pages/PageList.vue index 2dd3f2d8..2216139d 100644 --- a/src/modules/contents/pages/PageList.vue +++ b/src/modules/contents/pages/PageList.vue @@ -187,6 +187,7 @@ useExtensionPointsState("PAGES", pagesPublicState);
      • diff --git a/src/modules/system/plugins/PluginList.vue b/src/modules/system/plugins/PluginList.vue index 6db43991..84d42c52 100644 --- a/src/modules/system/plugins/PluginList.vue +++ b/src/modules/system/plugins/PluginList.vue @@ -110,11 +110,13 @@ onMounted(handleFetchPlugins);
        • 已启用
        • 未启用 @@ -199,11 +201,13 @@ onMounted(handleFetchPlugins);
          • 较近安装
          • 较晚安装 diff --git a/src/modules/system/plugins/components/PluginListItem.vue b/src/modules/system/plugins/components/PluginListItem.vue index 542f594b..1ca0c509 100644 --- a/src/modules/system/plugins/components/PluginListItem.vue +++ b/src/modules/system/plugins/components/PluginListItem.vue @@ -120,7 +120,12 @@ const { isStarted, changeStatus, uninstall } = usePluginLifeCycle(plugin);