try to fix eslint: Strings must use singlequote quotes

This commit is contained in:
吴亮 2017-01-12 14:46:16 +08:00 committed by 杨奕
parent 1b40caf855
commit 0b10d3e152

View File

@ -93,7 +93,7 @@
handleSelect(filterValue) {
this.filterValue = filterValue;
if (typeof filterValue === "number" && filterValue >= 0) {
if (typeof filterValue === 'number' && filterValue >= 0) {
this.confirmFilter(this.filteredValue);
} else {
this.confirmFilter([]);
@ -129,7 +129,7 @@
},
set(value) {
if (this.filteredValue) {
if (typeof value === "number" && value >= 0) {
if (typeof value === 'number' && value >= 0) {
this.filteredValue.splice(0, 1, value);
} else {
this.filteredValue.splice(0, 1);