From e8a7d3078c956bc5a87a2ee4d8fbfc20690bf81c Mon Sep 17 00:00:00 2001 From: jynxio <1337816495@qq.com> Date: Sun, 25 Jun 2023 14:21:20 +0800 Subject: [PATCH] examples (todomvc): change `@vnode-mounted` to `@vue:mounted` This example was using a deprecated API (`@vnode-mounted`), so I updated it. --- src/examples/src/todomvc/App/template.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/examples/src/todomvc/App/template.html b/src/examples/src/todomvc/App/template.html index eab4ba1226..0c9cc9fe64 100644 --- a/src/examples/src/todomvc/App/template.html +++ b/src/examples/src/todomvc/App/template.html @@ -34,7 +34,7 @@

todos

class="edit" type="text" v-model="todo.title" - @vnode-mounted="({ el }) => el.focus()" + @vue:mounted="({ el }) => el.focus()" @blur="doneEdit(todo)" @keyup.enter="doneEdit(todo)" @keyup.escape="cancelEdit(todo)"