Switch prevent space to scroll
This commit is contained in:
parent
e7fa279934
commit
5bb01822df
2 changed files with 3 additions and 1 deletions
|
@ -479,6 +479,7 @@
|
||||||
<Button type="primary">Submit</Button>
|
<Button type="primary">Submit</Button>
|
||||||
<Button type="ghost" style="margin-left: 8px">Cancel</Button>
|
<Button type="ghost" style="margin-left: 8px">Cancel</Button>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
|
<br><br><br><br><br><br><br><br><br><br><br><br><br><br>
|
||||||
</Form>
|
</Form>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
|
|
@ -68,7 +68,8 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
toggle () {
|
toggle (event) {
|
||||||
|
event.preventDefault();
|
||||||
if (this.disabled) {
|
if (this.disabled) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue