logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

[Vue warn]: Error in v-on handler: “TypeError: Cannot read properties of undefined (reading ‘target‘

用vue绑定事件时,不小心在事件getR后加了个()<button @click.once="getR()" >领取</button>然后在getR中用event:getR(e){const nowBgColor2=e.target.style.backgroundColore.target.style.backgroundColor= "red"console.log("

#vue.js#前端#javascript
[Vue warn]: Error in v-on handler: “TypeError: Cannot read properties of undefined (reading ‘target‘

用vue绑定事件时,不小心在事件getR后加了个()<button @click.once="getR()" >领取</button>然后在getR中用event:getR(e){const nowBgColor2=e.target.style.backgroundColore.target.style.backgroundColor= "red"console.log("

#vue.js#前端#javascript
到底了