按下按钮后,我正在尝试将新的 html 添加到我的 div 中,使用v-for.
但是在我按下按钮后,我收到此错误并且元素(文章)被添加到 div 一次,但之后它将不再起作用。
vue.js?3de6:1743 TypeError: 无法读取属性 '_withTask' of undefined
at remove$2 (eval at (app.js:561), :7078:13)
at updateListeners (eval at (app.js:561), : 2067:7)
at Array.updateDOMListeners (eval at (app.js:561),:7091:3)
at patchVnode (eval at (app.js:561), :5918:62)
at updateChildren (eval at ( app.js:561),:7091:3) js:561), :5809:9)
at patchVnode (eval at (app.js:561), :5923:29)
at updateChildren (eval at (app.js:561), :5809:9)
at patchVnode (eval at (app.js:561), :5923:29)
at updateChildren (eval at (app.js:561), :5809:9)
at patchVnode (eval at (app.js:561), :5923:29)
HTML代码:
<article …Run Code Online (Sandbox Code Playgroud)