如圖:這個列表是v-for循環(huán)出來的,我想點擊箭頭就會展開內(nèi)容,但是我點擊任意一個,其余的都會展開,這個要怎么解決呢,剛接觸vue,求指教<view class="showhide" @click="isshowClick(index)"><image :class="{ rotate: isrotate }" src="../../static/temp/xia.png"></image></view>export default{data() { return { isrotate: true, }; },methods: { isshowClick(e) { this.isrotate = !this.isrotate; },}
vue for循環(huán),點擊單個dom,其余dom也會隨之響應(yīng),這個怎么解決,求教
慕仙森
2019-05-14 17:13:52