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

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>)



已邀请:
0

Dexc

赞同来自:

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


0

Dexc

赞同来自:

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


要回复问题请先登录注册