vue获取修改后p标签的值

<p style="text-align:left;border-bottom:1px solid #ccc;line-height:14px" contenteditable=true v-for="(item,index) in addQues" :key="index" @blur="addBlur(item,index)">{{item}}</p>
addBlur(value,index){                console.log(value,index)        },

这个p标签是可以编辑的,p标签是v-for动态生成的,现在在失去焦点时我想获取编辑后的p标签的值怎么操作,因为我要用这个值去修改v-for的那个数组。有没有好办法

王小凯童鞋
浏览 5849回答 7
7回答
打开App,查看更多内容
随时随地看视频慕课网APP