diff --git a/build/plugin/unplugin.js b/build/plugin/unplugin.js index cc13a6b..eee6cc7 100644 --- a/build/plugin/unplugin.js +++ b/build/plugin/unplugin.js @@ -33,7 +33,10 @@ export default [ defaultClass: 'inline-block', }), Components({ - resolvers: [NaiveUiResolver(), IconsResolver({ customCollections: ['custom'], componentPrefix: 'icon' })], + resolvers: [ + NaiveUiResolver(), + IconsResolver({ customCollections: ['custom'], componentPrefix: 'icon' }), + ], dts: false, }), createSvgIconsPlugin({ diff --git a/mock/api/post.js b/mock/api/post.js index d869f7e..b6c3e54 100644 --- a/mock/api/post.js +++ b/mock/api/post.js @@ -38,7 +38,8 @@ const posts = [ author: '大脸怪', category: 'Http', description: '谈谈前端缓存的理解', - content: '> 背景\n\n公司有个vue-cli3移动端web项目发版更新后发现部分用户手机在钉钉内置浏览器打开出现了缓存', + content: + '> 背景\n\n公司有个vue-cli3移动端web项目发版更新后发现部分用户手机在钉钉内置浏览器打开出现了缓存', isRecommend: true, isPublish: true, createDate: '2021-06-10T18:51:19.000Z', @@ -49,7 +50,8 @@ const posts = [ author: '大脸怪', category: 'JavaScript', description: '简单介绍下在 Promise 类中,有5 种静态方法及它们的使用场景', - content: '## 1. Promise.all\n\n并行执行多个 promise,并等待所有 promise 都准备就绪。再对它们进行处理。', + content: + '## 1. Promise.all\n\n并行执行多个 promise,并等待所有 promise 都准备就绪。再对它们进行处理。', isRecommend: true, isPublish: true, createDate: '2021-02-22T22:37:06.000Z', @@ -65,7 +67,9 @@ export default [ const { title, pageNo, pageSize } = data.query let pageData = [] let total = 60 - const filterData = posts.filter((item) => item.title.includes(title) || (!title && title !== 0)) + const filterData = posts.filter( + (item) => item.title.includes(title) || (!title && title !== 0) + ) if (filterData.length) { if (pageSize) { while (pageData.length < pageSize) { diff --git a/src/components/common/AppFooter.vue b/src/components/common/AppFooter.vue index be48bc0..b230497 100644 --- a/src/components/common/AppFooter.vue +++ b/src/components/common/AppFooter.vue @@ -2,10 +2,20 @@