Commit 4256bbc0 authored by zhangderong's avatar zhangderong

扫码测试

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