回答編集履歴

1

ソースコード修正

2022/06/16 08:07

投稿

Matsumon0104
Matsumon0104

スコア1005

test CHANGED
@@ -2,9 +2,9 @@
2
2
  ですので、実際にレンダリングされるのはdiv内に複数のimgが作成される下記のようなイメージのhtmlです。
3
3
  ```html
4
4
  <div v-on:mouseover="imgchange1()">
5
- <img v-bind:src="item.image" v-for="item in items" width="50" height="50">
5
+ <img v-bind:src="item.image" width="50" height="50">
6
- <img v-bind:src="item.image" v-for="item in items" width="50" height="50">
6
+ <img v-bind:src="item.image" width="50" height="50">
7
- <img v-bind:src="item.image" v-for="item in items" width="50" height="50">
7
+ <img v-bind:src="item.image" width="50" height="50">
8
8
  </div>
9
9
  ```
10
10