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="ghost" style="margin-left: 8px">Cancel</Button>
|
||||
</FormItem>
|
||||
<br><br><br><br><br><br><br><br><br><br><br><br><br><br>
|
||||
</Form>
|
||||
</template>
|
||||
<script>
|
||||
|
|
|
@ -68,7 +68,8 @@
|
|||
}
|
||||
},
|
||||
methods: {
|
||||
toggle () {
|
||||
toggle (event) {
|
||||
event.preventDefault();
|
||||
if (this.disabled) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue