闫增涛
2024-05-29 b1afe1bb63a9eae10b4e069c60f4db80b6816078
src/books/embedded/view/index.vue
@@ -2,10 +2,6 @@
  <div
    class="embedded-book"
    @mouseup="handleMouseUp"
    :style="{
      fontSize: fontSize ? fontSize + 'px' : '16px',
      transform: `scale(${pageZoom ? pageZoom : 1})`,
    }"
  >
    <pageContent></pageContent>
  </div>
@@ -26,14 +22,6 @@
      cardList: [],
      isMouseDown: false,
    };
  },
  computed: {
    fontSize() {
      return this.$store.state.qiankun.fontSize;
    },
    pageZoom() {
      return this.$store.state.qiankun.scale / 100;
    },
  },
  mounted() {
  },
@@ -92,4 +80,6 @@
};
</script>
<style lang="less" scoped></style>
<style lang="less">
@import "../assets/main.less";
</style>