摘要: 修改el-tag的样式 at-rule or selector expectedcss(css-ruleorselectorexpected) <style scoped> :deep .el-tag { margin-bottom: 1em; } </style> 如果没用的话 请检查你的路径是不 阅读全文
posted @ 2023-05-11 14:15 yjxQWQ 阅读(481) 评论(0) 推荐(0)
摘要: lang="ts" setup这种怎么写 props import { defineProps } from 'vue'; const props = defineProps({ tags: { type: Array as () => string[], default: () => [], }, 阅读全文
posted @ 2023-05-11 14:15 yjxQWQ 阅读(66) 评论(0) 推荐(0)
摘要: Component name "tag" should always be multi-word. 这种错误通常是由于编码规范或代码风格指南中的命名规范没有被遵守所导致的。 vue中,我命名一个组件叫tag好像不符合规范 ,应该怎么命名? 在Vue中,如果你要命名一个组件,可以采用驼峰式命名法,即使 阅读全文
posted @ 2023-05-11 14:14 yjxQWQ 阅读(53) 评论(0) 推荐(0)