sam

Results 1 comments of sam

这个库内部是通过imageList变量保存v-model的value,而imageList的同步只有在删除,新增,初次mount触发,所以你外部对v-model的修改都不会同步。解决方案:1自己watch value,变更就同步到imageList 2增加method直接赋值到imageList上,通过ref调用。