摘要: 阅读全文
posted @ 2022-02-12 23:07 苦练一指禅 阅读(10) 评论(0) 推荐(0) 编辑
摘要: <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> 阅读全文
posted @ 2022-02-04 15:08 苦练一指禅 阅读(65) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-12-08 12:45 苦练一指禅 阅读(5654) 评论(0) 推荐(0) 编辑
摘要: 在Vue中,我们使用组件来组织页面和组织代码,类似于搭积木,每一个组件都是一个积木,使用一些相同或者不同组件就能搭建出我们想要的页面。slot(插槽)是组件功能的重要组成部分,插槽必须用于组件才有意义。它为组件提供了对外的接口,允许从组件外部传递内容,并将这部分内容放置到指定的位置。 使用 slot 阅读全文
posted @ 2021-11-18 10:53 苦练一指禅 阅读(210) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq_38801550/article/details/78187803 阅读全文
posted @ 2021-11-17 23:17 苦练一指禅 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 不用写数字可以直接使用常量代表状态码 阅读全文
posted @ 2021-11-17 23:15 苦练一指禅 阅读(55) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-11-17 18:23 苦练一指禅 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-11-17 11:51 苦练一指禅 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 例:import {queryDepartTreeList, searchByKeywords} from '@/api/api' 首先查看vue.config.js文件,在这个文件里面定义了定义了@的含义 const path = require('path') function resolve( 阅读全文
posted @ 2021-11-04 13:13 苦练一指禅 阅读(287) 评论(0) 推荐(0) 编辑
摘要: 例:import {queryDepartTreeList, searchByKeywords} from '@/api/api' 表示 @api 指的是"src/api"路径 在该文件下我们可以找到以下函数 阅读全文
posted @ 2021-11-04 12:39 苦练一指禅 阅读(966) 评论(0) 推荐(0) 编辑