vue2.0中template中使用slot-scope,由于语法检查进而会报红线错误
解决办法:<template slot-scope="scope">改为<template slot-scope="{}">
`即可消除红色波浪线
vue2.0中template中使用slot-scope报红线错误
最新推荐文章于 2023-10-18 14:36:00 发布
vue2.0中template中使用slot-scope,由于语法检查进而会报红线错误
解决办法:<template slot-scope="scope">改为<template slot-scope="{}">
`即可消除红色波浪线