vue中@click 通过组件渲染,点击无效,烦请大神帮忙,烦请方便的加872180840,在线等,谢谢!!!
<template id="template_header"> <header class="header" > <div class="header_inner"> <div class="address both_side"> <span v-on:click = "checkAddress">上海</span> <span class="arrow"></span> </div> <div class="search"> <input type="search" name="" id="" value="" /> </div> <div class="map both_side"> <span> <img src="img/smallmap.png"/> </span> </div> </div> </header> </template>@click无效;直接引入的vue,没有用脚手架
类似的帖子:https://segmentfault.com/q/1010000007386735
不是我想要的,
@库巴: https://segmentfault.com/q/1010000005694630 这个呢?
@金琥: 谢谢,但不是,
解决了
0.0.0.0.0.0.0.0.0