unibest icon indicating copy to clipboard operation
unibest copied to clipboard

【热重载的时候,似乎如果是v-for的相关修改都不会更新。不知是这个模板的问题还是框架本身通病】

Open CherishMvp opened this issue 7 months ago • 0 comments

Bug report(问题描述)

热重载的时候,对v-for的内容无法及时更新; please write your issue description here

Steps to reproduce(问题复现步骤)

  1. 如对一个简单的数组对象进行v-for遍历渲染。第一次会出现内容
  2. 此时如果修改数组对象的内容或者长度等,都不会修改。需要重新运行项目才可以看到修好后的内容

Screenshot or Gif(截图或动态图)

minimal reproduction(最小可还原代码)

System Info

npx envinfo --system --npmPackages vue --binaries --browsers

执行上面命令,将结果贴下面

CherishMvp avatar Jul 11 '24 09:07 CherishMvp