问题:
[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;">