Commit 4b628e9c authored by Richard-Choooou's avatar Richard-Choooou Committed by 杨奕

Rate: pressing nav keys shouldn't update value when disabled (#10726)

parent 25fcfb34
......@@ -278,6 +278,9 @@
},
handleKey(e) {
if (this.rateDisabled) {
return;
}
let currentValue = this.currentValue;
const keyCode = e.keyCode;
if (keyCode === 38 || keyCode === 39) { // left / down
......
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