Failed to execute removeChild on Node

后端 未结 5 1716
盖世英雄少女心
盖世英雄少女心 2021-02-02 06:22

Other stack answers such as this and this seem to be specialized cases and I believe my case is more generalized. I am doing this in my js:

var markerDiv = docum         


        
5条回答
  •  说谎
    说谎 (楼主)
    2021-02-02 07:04

    For me, a hint to wrap the troubled element in another HTML tag helped. However I also needed to add a key to that HTML tag. For example:

    // Didn't work
    
    // Worked

提交回复
热议问题