|
@@ -200,9 +200,9 @@ export default defineComponent({
|
|
|
</Col>
|
|
|
</Row>
|
|
|
|
|
|
- {this.productCategory.id ? (
|
|
|
+ {this.productCategory.id && this.productCategory.children && this.productCategory.children.length ? (
|
|
|
<Tabs class={styles['filter-productCategory']} shrink ellipsis={false} v-model:active={this.productCategory.active} onChange={() => this.onToggleTag()}>
|
|
|
- {this.productCategory &&
|
|
|
+ {this.productCategory &&
|
|
|
this.productCategory.children.map((n: any, i: number) => (
|
|
|
<Tab
|
|
|
name={i}
|