Commit 4256bbc0 authored by zhangderong's avatar zhangderong

扫码测试

parent 5546732c
......@@ -35,7 +35,7 @@
</FormItem>
</Form>
<div class="submission">
<Button type='primary' @click="confirmSubmission" class="utbuton">提交</Button>
<Button type='primary' @click="confirmSubmission" class="utbuton" v-show="showBtn==true">提交</Button>
</div>
</div>
<Modal
......@@ -69,6 +69,8 @@ import {submitMassage} from '../../api/sweepCode.server.js'
export default {
data(){
return {
clientHeight:document.documentElement.clientHeight,
    showBtn: true,
modal3:false,
modal4:false,
ruleInline: {
......@@ -220,6 +222,13 @@ export default {
const day = myDate.getDate(); // 获取当前日(1-31)
this.saleDate = `${year}/${month}/${day}`;
this.formInline.date=this.saleDate
window.onresize= ()=>{
if(this.clientHeight>document.documentElement.clientHeight) {
this.showBtn =false
}else{
this.showBtn = true
}
}
}
}
</script>
......
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