src/components/indexPanel/InfoPanel.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/components/indexPanel/InfoPanel.vue
@@ -50,8 +50,23 @@ } } }, watch: { rightMenuVisible(value) { if (value) { document.body.addEventListener('click', this.closeMenu) } else { document.body.removeEventListener('click', this.closeMenu) } }, 'infos': { handler(val) { this.info = JSON.parse(JSON.stringify(val)); }, deep: true } }, mounted() { this.info = this.infos }, methods: { // 跳转到历史数据