Rate: fix a method name typo (#10688)

pull/10691/head
superbiger 2018-04-12 18:53:21 +08:00 committed by 杨奕
parent 5a003a1386
commit 36fa8d6dcb
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<template>
<div
class="el-rate"
@keydown="handelKey"
@keydown="handleKey"
role="slider"
:aria-valuenow="currentValue"
:aria-valuetext="text"
@ -277,7 +277,7 @@
}
},
handelKey(e) {
handleKey(e) {
let currentValue = this.currentValue;
const keyCode = e.keyCode;
if (keyCode === 38 || keyCode === 39) { // left / down