src/components/subComponents/CardItem.vue
@@ -488,14 +488,8 @@ </template> <script> import cardType from "../../mockData/cardType.ts"; import bus from "@/main"; export default { mounted() { bus.$on('refreshCompareImg', () => { // this.tempShowType = false }) window.addEventListener("resize", this.watchWindow); }, props: { @@ -526,7 +520,6 @@ return { tempShowType: true, initialIndex: 0, cardType, carouselIndex: 0, dialogVisible: false, overflowState: true