Dexc
Dexc
  • 发布:2019-01-10 15:48
  • 更新:2020-03-26 16:46
  • 阅读:1977

用hb运行uniapp h5版到chrome就报错了,为什么?

分类:uni-app

vue.runtime.esm.js:593 [Vue warn]: 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.

(found in <Root>)
warn @ vue.runtime.esm.js:593
vue.runtime.esm.js:593 [Vue warn]: Unknown custom element: <App> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

(found in <Root>)

2019-01-10 15:48 负责人:无 分享
已邀请:
994545819@qq.com

994545819@qq.com

App.mpType = 'app' 在main.js里删除这一行也会报这个错误

Dexc

Dexc (作者)

我用Npm也是好的,昨天运行也是好的,好奇怪呀

Dexc

Dexc (作者)

可能是本地包和uni上的运行包不一致造成的吧。删除npm包就好了。

442910864@qq.com

442910864@qq.com

我也遇到了,我是改了app.vue的内容,改回来就可以了

407479497@qq.com

407479497@qq.com

楼主怎么解决的,删除哪个Npm包

820791302@qq.com

820791302@qq.com

我也遇到这个问题了

lh.work@qq.com

lh.work@qq.com - UniApp的BUG太多了! 被坑惨了!

Vue warn]: Unknown custom element: <timeline> - did you register the component correctly? For recursive components, make sure to provide the "name" option.  

found in

编译为小程序没问题,编译成H5就出这问题。有人解决了吗?

要回复问题请先登录注册