diff --git a/src/api/attachment.js b/src/api/attachment.js index 7fcdc7e1..3f416798 100644 --- a/src/api/attachment.js +++ b/src/api/attachment.js @@ -87,6 +87,14 @@ attachmentApi.type = { ALIYUN: { type: 'aliyun', text: '阿里云' + }, + BAIDUYUN: { + type: 'baiduyun', + text: '百度云' + }, + TENCENTYUN: { + type: 'tencentyun', + text: '百度云' } } diff --git a/src/components/Tools/UserMenu.vue b/src/components/Tools/UserMenu.vue index 66c71fa9..d197efdf 100644 --- a/src/components/Tools/UserMenu.vue +++ b/src/components/Tools/UserMenu.vue @@ -4,9 +4,14 @@ :href="options.blog_url" target="_blank" > - - - + + + + + { this.$message.success('添加成功!') + this.photo = {} }) }, onClose() { diff --git a/src/views/post/CategoryList.vue b/src/views/post/CategoryList.vue index 706daddc..b123b952 100644 --- a/src/views/post/CategoryList.vue +++ b/src/views/post/CategoryList.vue @@ -92,14 +92,34 @@ @click="handleEditCategory(record)" >编辑 - - 删除 - + + 更多 + + + + 添加到菜单 + + + + + 删除 + + + + @@ -111,6 +131,7 @@