let baseurl = `/search?keyword=${key} `;///"baseurl" is assigned a value but never used
baseurl += "&page=1";
if (this.checkAll === false) {
baseurl += "&range=";
for (let i = 0; i < this.checkedParts.length; iPP) {
if (i === this.checkedParts.length - 1) {
baseurl += this.checkedParts[i];
} else {
baseurl += `${this.checkedParts[i]},`;
}
}
}