style(Sku): remove semicolon in selected text

This commit is contained in:
chenjiahan
2020-06-25 16:55:19 +08:00
committed by neverland
parent 4230011480
commit eee0ade7ea
2 changed files with 4 additions and 4 deletions

View File

@@ -310,7 +310,7 @@ export default createComponent({
selectedText() {
if (this.selectedSkuComb) {
const values = this.selectedSkuValues.concat(this.selectedPropValues);
return `${t('selected')} ${values.map((item) => item.name).join('')}`;
return `${t('selected')} ${values.map((item) => item.name).join(' ')}`;
}
const unselectedSku = this.skuTree
@@ -322,9 +322,7 @@ export default createComponent({
.filter((item) => (this.selectedProp[item.k_id] || []).length < 1)
.map((item) => item.k);
return `${t('select')} ${unselectedSku
.concat(unselectedProp)
.join('')}`;
return `${t('select')} ${unselectedSku.concat(unselectedProp).join(' ')}`;
},
},