创建项目为官方提供的Demo
可能出现的bug如下
Web运行:
index.js:1127 Uncaught
ReferenceError: uni is not defined
Property or method "keepAliveInclude" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.
Unknown custom element: <App> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
微信小程序运行:
ERROR TypeError: Cannot read property 'id' of undefined
如遇到上述错误提示信息,请检查项目路径是否包含符号链接文件夹,如果有该情况或类似情况,可将项目移动至无符号链接的文件夹中,可正常运行
1 个评论
要回复文章请先登录或注册
前端萌新很菜