Commit bf2743a5 authored by 郝聪敏's avatar 郝聪敏

Merge branch 'feature/add_activity' into 'master'

feature: 活动链接添加微信参数

See merge request !233
parents 14760409 670bb2b8
......@@ -117,6 +117,7 @@ import { parseTime } from "@/service/utils";
import { saveAs } from "file-saver";
import qrCodeImg from "@/assets/images/home/qrcode.png";
import { isXyqb } from "@/service/validation";
import { checkOpenId } from "@/service/wxJsSdk";
export default {
name: "Activity",
......@@ -144,6 +145,7 @@ export default {
}
},
mounted() {
this.checkOpenId();
setTimeout(() => {
this.$nextTick(() => {
this.$refs?.swiper?.resize();
......@@ -151,6 +153,7 @@ export default {
}, 600);
},
computed: {
...{ checkOpenId },
voteButtonText() {
let text = "去投票";
if (this.status === "HAS_WINNING") {
......
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