diff --git a/src/components/Home/Header.vue b/src/components/Home/Header.vue index bae7013..3890efd 100644 --- a/src/components/Home/Header.vue +++ b/src/components/Home/Header.vue @@ -78,9 +78,15 @@ - 描述: 请从技术栈,功能,适用场景,解决那些痛点等方面介绍项目,突出特点和闪光的亮点。 - + + 提交 @@ -136,19 +142,7 @@ import SearchInput from "@/components/Home/SearchInput.vue"; import PublishArticle from "@/components/Paper/PublishArticle.vue"; import Vue from "vue"; -import { - Blockquote, - Bold, BulletList, - CodeBlock, CodeView, - Doc, FontSize, FontType, FormatClear, HardBreak, - Heading, History, HorizontalRule, - Iframe, - Image, Indent, Italic, LineHeight, - Link, ListItem, OrderedList, - Paragraph, Preview, Print, SelectAll, Strike, - Text, TextAlign, TextColor, TextHighlight, TodoItem, TodoList, TrailingNode, - Underline -} from "element-tiptap"; + import axios from "axios"; export default { @@ -159,45 +153,6 @@ export default { openPublishArticle:false, openPublishProject:false, openFileUploadDialog:false, - extensions: [ - new Link, - new Image, - new Iframe, - new CodeBlock, - new Blockquote, - new Doc(), - new Text(), - new Paragraph(), - new Heading({level: 5}), // 支持多级标题,设置为5级 - new Bold({bubble: true}), // 在气泡菜单中渲染菜单按钮 - new Underline({bubble: true, menubar: false}), // 在气泡菜单而不在菜单栏中渲染菜单按钮 - new Italic(), - new Strike(), - new ListItem(), - new BulletList(), - new OrderedList(), - new TodoItem, - new TodoList, - new TextAlign({alignments: ['left', 'center', 'right', 'justify'],}), - new Indent({ - minIndent: 0, - maxIndent: 7, - }), - new LineHeight({lineHeights: ['100%', '200%', '300%']}), - new HorizontalRule, - new HardBreak, - new TrailingNode, - new History, - new FormatClear, - new TextColor({bubble: true}), - new TextHighlight, - new Preview, - new Print, - new SelectAll, - new FontType, - new FontSize, - new CodeView, - ], form: { url: null, title: null, diff --git a/src/components/Home/SearchInput.vue b/src/components/Home/SearchInput.vue index b6a85d9..aca98bc 100644 --- a/src/components/Home/SearchInput.vue +++ b/src/components/Home/SearchInput.vue @@ -17,7 +17,7 @@
「HelloGitHub 月刊」 - 分享 GitHub 上有趣、入门级的开源项目,每月 28 号发布最新一期。内容包 + 分享 GitHub 上有趣、入门级的开源项目,每月 1 号发布最新一期。内容包 括开发利器、开源书籍、教程、企业级项目等, 让你发现编程的乐趣、爱上开源! diff --git a/src/components/Paper/ArticleDetail.vue b/src/components/Paper/ArticleDetail.vue index 8a88956..ab370ce 100644 --- a/src/components/Paper/ArticleDetail.vue +++ b/src/components/Paper/ArticleDetail.vue @@ -11,7 +11,7 @@
- +
加载中...
diff --git a/src/components/Project/ProjectList.vue b/src/components/Project/ProjectList.vue index 3005539..f89f0f5 100644 --- a/src/components/Project/ProjectList.vue +++ b/src/components/Project/ProjectList.vue @@ -74,7 +74,7 @@ export default { }, // 截取文章内容的前 35 个字,并加上省略号 brief: function() { - return this.projectLists.projectDescription.substr(0, 33) + '...'; + return this.projectLists.projectDescription.substr(0, 40) + '...'; }, }, diff --git a/src/components/System/Manage/commentManage.vue b/src/components/System/Manage/commentManage.vue index a10c0d2..86df607 100644 --- a/src/components/System/Manage/commentManage.vue +++ b/src/components/System/Manage/commentManage.vue @@ -72,6 +72,7 @@ :inactive-value="0" active-color="#13ce66" inactive-color="#ff4949" + @change="handleChangeStatus($event,scope.row.commentId)" > @@ -92,41 +93,43 @@
diff --git a/src/components/User/UserInfoPage.vue b/src/components/User/UserInfoPage.vue index 05e8de7..d6844d9 100644 --- a/src/components/User/UserInfoPage.vue +++ b/src/components/User/UserInfoPage.vue @@ -231,7 +231,6 @@ export default { that.commentList=JSON.parse(res.data.comment); that.like=JSON.parse(res.data.like) that.article=JSON.parse(res.data.article); - // console.log(that.commentList); }); }, updateUserLevel(){ diff --git a/src/components/User/UserProjects.vue b/src/components/User/UserProjects.vue index 5cf695b..464fe52 100644 --- a/src/components/User/UserProjects.vue +++ b/src/components/User/UserProjects.vue @@ -1,10 +1,10 @@