vue自己写了组件文件包components爆了这个错;
原因是components文件夹下的index.js文件
"import tabbar from "./tabbar"
export default {
tabbar
}"
没有default关键字,加上就好
import tabbar from "./tabbar"
export default {
tabbar
}
vue自己写了组件文件包components爆了这个错;
原因是components文件夹下的index.js文件
"import tabbar from "./tabbar"
export default {
tabbar
}"
没有default关键字,加上就好
import tabbar from "./tabbar"
export default {
tabbar
}