Commit 8c30c592 authored by 郝聪敏's avatar 郝聪敏

fix: swiper resize 判空

parent 15473d89
......@@ -145,7 +145,7 @@ export default {
mounted() {
setTimeout(() => {
this.$nextTick(() => {
this.$refs.swiper.resize();
this.$refs?.swiper?.resize();
});
}, 600);
},
......@@ -227,11 +227,6 @@ export default {
} else {
this.status = "HAS_NOT_CHANCE";
}
setTimeout(() => {
this.$nextTick(() => {
this.$refs.swiper.resize();
});
}, 500);
},
// 客户端不支持
saveImg() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment