Commit 368f1fb5 authored by ‘yangmengxue’'s avatar ‘yangmengxue’

11

parent d6f3a378
......@@ -18,7 +18,7 @@
<div class="btn">
<el-button @click="handleDownload">下载课程通知书</el-button>
</div>
<div class="btn">
<div class="btn" v-if="$store.state.isPost == 0">
<el-button @click="openAddress">输入邮寄地址</el-button>
</div>
</div>
......@@ -43,7 +43,7 @@
<div class="btn">
<el-button @click="handleDownload">下载入营通知书</el-button>
</div>
<div class="btn">
<div class="btn" v-if="$store.state.isPost == 0">
<el-button @click="openAddress">输入邮寄地址</el-button>
</div>
</div>
......
......@@ -198,8 +198,8 @@ function checkCam(code, cb) {
store.state.finish_certificate_address = res.data.finish_certificate_address;
}
//是否隐藏填写邮寄地址
if (res.data.isPost != null) {
store.state.isPost = res.data.isPost;
if (res.data.is_post != null) {
store.state.isPost = res.data.is_post;
}
cb && cb(true);
}).catch(() => {
......
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