zhangzengfei
2020-07-23 ecdff0d7764b810640fad072f3a9fb69d78dc7db
src/pages/desktop/index/components/DFrame.vue
@@ -39,6 +39,13 @@
      height: this.data.height || 512
    }
  },
  mounted() {
    window.addEventListener('message', e => {
      if (e.data && e.data.msg == "logout") {
        location.assign("/");
      }
    })
  },
  methods: {
    closeFrame: function () {
      this.$store.dispatch('desktop/closeFrame', this.data);