<uni-swipe-action>
<uni-swipe-action-item :options="options" @click="(e)=>onClick(e,index)" v-for="(i,index) in clothesList" :key="index" @change="(e)=>change(e,index)">
<view class="goods-item" @change="showIndex(index)">
<image :src=i.img></image>
<view>
<view class="remark">
<view class="remark-title">备注:</view>
<view class="remark-cn-words">{{i.cnRemark}}</view>
</view>
<view class="remark">
<view class="remark-title">remark:</view>
<view class="remark-eng-words">{{i.enRemark}}</view>
</view>
</view>
</view>
</uni-swipe-action-item>
</uni-swipe-action>
我想要在onclick里面动态增加一个index方便数组操作,应该如何添加
0 个回复