05 2023 档案

摘要:div-class为需要添加0.5px边框的元素的类名,下面是less写法,css写法把嵌套的&::after提出来,换成.div-class::after .div-class { position: relative; &::after{ position: absolute; bottom: 阅读全文
posted @ 2023-05-15 20:21 jiazq 阅读(112) 评论(0) 推荐(0) 编辑
摘要:报错: EISDIR: illegal operation on a directory, read Internal server error: EISDIR: illegal operation on a directory, read 原因:引入子组件时,子组件是xxx/文件夹名/index. 阅读全文
posted @ 2023-05-15 19:00 jiazq 阅读(7309) 评论(1) 推荐(2) 编辑
摘要:父组件使用v-model绑定 child.vue export default { props: { value: { type: String, default: '' }, }, model: { prop: 'value', event: 'change' } methods: { // va 阅读全文
posted @ 2023-05-10 20:09 jiazq 阅读(128) 评论(0) 推荐(0) 编辑
摘要:在ie下,设置width: max-content、fit-content不适配 width: max-content;改为: width: auto; white-space: nowrap; width: fit-content修改父元素display: flex,然后改为width: auto 阅读全文
posted @ 2023-05-10 19:55 jiazq 阅读(156) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示