JavaScript: [Vue warn]: Failed to generate render function: SyntaxError: missing ) in parenthetical inJavaScript: [Vue warn]: Failed to generate render function: SyntaxError: missing ) in parenthetical inJavaScript: [Vue warn]: Failed to generate render function: SyntaxError: missing ) in parenthetical inJavaScript: [Vue warn]: Failed to generate render function: SyntaxError: missing ) in parenthetical in
  • 首页
  • 博客
  • 书签
  • 文件
  • 分析
  • 登录

JavaScript: [Vue warn]: Failed to generate render function: SyntaxError: missing ) in parenthetical in

发表 admin at 2022年8月12日
类别
  • Vue
标签

问题:

[Vue warn]: Failed to generate render function:

SyntaxError: missing ) in parenthetical in

with(this){return _c('div',{attrs:{"id":"app"}},[_c('div',{staticClass:"header_con"},[_c('div',{staticClass:"header"},...,attrs:{"type":"reset","name":"","value":"取 消"},on:{"click":close_editor}})])]),_v(" "),_c('div',{staticClass:"mask"})])])}


(found in <Root>) vue-2.5.16.js:597:15
    warn http://127.0.0.1:8000/static/js/vue-2.5.16.js:597
    compileToFunctions http://127.0.0.1:8000/static/js/vue-2.5.16.js:10743
    $mount http://127.0.0.1:8000/static/js/vue-2.5.16.js:10908
    _init http://127.0.0.1:8000/static/js/vue-2.5.16.js:4627
    Vue http://127.0.0.1:8000/static/js/vue-2.5.16.js:4716
    <anonymous> http://127.0.0.1:8000/static/js/user_center_site.js:1

原因:

<!--以下代码多了一个分号-->
<div class="site_con" v-for="(address,index) in addresses;">

发表回复 取消回复

您的电子邮箱地址不会被公开。 必填项已用*标注

类别

  • Cat
  • Python
  • MySQL
  • Django
  • Html/CSS
  • JavaScript
  • Vue
  • RegExp
  • php
  • Practice
  • Virtualization
  • Linux
  • Windows
  • Android
  • NAS
  • Software
  • Hardware
  • Network
  • Router
  • Office
  • WordPress
  • SEO
  • English
  • Games
  • Recipes
  • living
  • Memorandum
  • Essays
  • 未分类

归档

©2015-2023 艾丽卡 Blog support@alaica.com
      ajax-loader