vue浏览器访问报错

启动后,浏览器访问,现在老是报以下错误:

Uncaught TypeError: Cannot create property 'function mergeHook(
  parentVal,
  childVal
) {
  return childVal
    ? parentVal
      ? parentVal.concat(childVal)
      : Array.isArray(childVal)
        ? childVal
        : [childVal]
    : parentVal
}' on string 'created'
    at mergeField (eval at <anonymous> (http://localhost:8080/app.js:600:2), <anonymous>:1174:18)
    at mergeOptions (eval at <anonymous> (http://localhost:8080/app.js:600:2), <anonymous>:1165:5)
    at Function.Vue.extend (eval at <anonymous> (http://localhost:8080/app.js:600:2), <anonymous>:3503:19)
    at Function.Vue.(anonymous function) [as component] (eval at <anonymous> (http://localhost:8080/app.js:600:2), <anonymous>:3557:43)
    at eval (eval at <anonymous> (http://localhost:8080/app.js:2388:2), <anonymous>:314:10)
    at Array.map (native)
    at Object.install (eval at <anonymous> (http://localhost:8080/app.js:2388:2), <anonymous>:313:15)
    at Function.Vue.use (eval at <anonymous> (http://localhost:8080/app.js:600:2), <anonymous>:3448:22)
    at eval (eval at <anonymous> (http://localhost:8080/app.js:2034:2), <anonymous>:35:15)
    at Object.<anonymous> (http://localhost:8080/app.js:2034:2)
    ...

完全没有入手的地方

阅读 3.3k
1 个回答

信息量太少了,created不要引号,没有支持es6吗?

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题