<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Thoames1212</author_name>
  <author_url>https://blog.hatena.ne.jp/Thoames1212/</author_url>
  <blog_title>とーますメモ</blog_title>
  <blog_url>https://thoames.hatenadiary.jp/</blog_url>
  <categories>
  </categories>
  <description>v-forで配列内をループで回して、表示させており その中で以下のように、削除を行う機能を実装したのだが 削除すると選択した行が消されず、最後の行が消されるという変な現象が発生した。[HTML] &lt;tbody&gt; &lt;tr is=&quot;sample-component&quot; v-for=&quot;(item, index) in items&quot; v-bind:index=&quot;index&quot; v-bind:item=&quot;item&quot; :key=&quot;index&quot; v-on:remove=&quot;remove_item&quot; &gt;&lt;/tr&gt; &lt;/tbody&gt; [JS] this.items.splice(index, 1);原因を調べてみると…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthoames.hatenadiary.jp%2Fentry%2F2019%2F10%2F17%2F044617&quot; title=&quot;【Vue.js】v-forの配列を削除すると、最後の行が消される問題 - とーますメモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-10-17 04:46:17</published>
  <title>【Vue.js】v-forの配列を削除すると、最後の行が消される問題</title>
  <type>rich</type>
  <url>https://thoames.hatenadiary.jp/entry/2019/10/17/044617</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
