Commit e8029b95 authored by 杨梦雪's avatar 杨梦雪

111

parent 6c202cdb
......@@ -23,7 +23,7 @@
<script>
/* eslint-disable */
import { getCam } from "r/index/login";
import { signUpInit } from "r/index/signUp";
export default {
name: "Sucess",
......@@ -34,14 +34,13 @@ export default {
created() {},
methods: {
handleDownload() {
getCam(this.$store.state.indexIdentity).then((res) => {
signUpInit({}).then((res) => {
if (res.data.code != 200) {
return this.$message.error(res.data.message);
}
// this.$message.success(res.data.message);
if (res.data.is_dowload == 1) {
window.location.href = res.data.pdf_address;
}else{
window.location.href = res.data.dowload_url;
} else {
return this.$message.error("营地下载证书还未开始");
}
});
......
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