摘要:
Mapper.java public interface StorageMapper extends BaseMapper<Storage> { List<Integer> getStorageIdByChannelId(List<Integer> channelIds); } mapper.xml 阅读全文
摘要:
1. 将data恢复到初始状态 Object.assign(this.$data, this.$options.data()) // 初始化data 2. 重新渲染组件 方法一:v-if(可以重置生命周期) 虽然能实现重新渲染,但不推荐首选 方法二:给组件加key值【推荐】 通过修改key的值,就会 阅读全文