src/components/mini/box2-class.vue
@@ -35,10 +35,11 @@ } from '../../api/blogArticleType.js' export default { beforeMount() { this.$message.info('loading',0.3); //this.$message.info('loading', 0.3); queryBlogArticleType({}).then((res) => { this.list1 = res.data.slice(0, 3) this.list2 = res.data.slice(4) if (res.data.length >= 3) this.list2 = res.data.slice(3) }) }, data() {