摘要:
父传子: 子传父:注意接收时不需要加"()" !! 阅读全文
摘要:
TabChange(index) { this.currentGoodsType = (function (){ switch (index) { case 0: return 'pop' case 1: return 'new' case 2: return 'sell' } })(); }, 利 阅读全文
摘要:
.goods { display: flex; flex-wrap: wrap; justify-content: space-around; padding: 2px; } 解析: display: flex; flex-wrap: wrap; //可换行 justify-content: spa 阅读全文
摘要:
后端://添加章节@PostMapping("addChapter")public R addChapter(@RequestBody EduChapter eduChapter) { chapterService.save(eduChapter); return R.ok();}//根据章节id查 阅读全文
摘要:
阅读全文