mirror of https://github.com/ElemeFE/element
Rate: fix a method name typo (#10688)
parent
5a003a1386
commit
36fa8d6dcb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue