使用Vue写一个关于学生数组,教师数组和课程数组的小例子
摘要:
思路: 使用一个组件完成数据表格显示 template:` <table> <thead> <tr> <slot name="header"></slot> </tr> </thead> <tbody> <tr v-for="item in arr"> <slot :item="item" name 阅读全文
posted @ 2020-09-21 23:58 超级杨过敏 阅读(245) 评论(0) 推荐(0) 编辑