Dexc
Dexc
  • 发布:2019-01-10 15:48
  • 更新:2019-01-11 14:41
  • 阅读:190

用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 分享
已邀请:
Dexc

Dexc (作者)

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

Dexc

Dexc (作者)

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

要回复问题请先登录注册