|
@@ -42,9 +42,9 @@ export default {
|
|
|
},
|
|
|
computed: {
|
|
|
productTypeName () {
|
|
|
- const productTypeName1 = this.detailsData&&this.detailsData.productTypeName1 ? this.detailsData.productTypeName1 : ''
|
|
|
- const productTypeName2 = this.detailsData&&this.detailsData.productTypeName2 ? ' > ' + this.detailsData.productTypeName2 : ''
|
|
|
- const productTypeName3 = this.detailsData&&this.detailsData.productTypeName3 ? ' > ' + this.detailsData.productTypeName3 : ''
|
|
|
+ const productTypeName1 = this.detailsData && this.detailsData.productTypeName1 ? this.detailsData.productTypeName1 : ''
|
|
|
+ const productTypeName2 = this.detailsData && this.detailsData.productTypeName2 ? ' > ' + this.detailsData.productTypeName2 : ''
|
|
|
+ const productTypeName3 = this.detailsData && this.detailsData.productTypeName3 ? ' > ' + this.detailsData.productTypeName3 : ''
|
|
|
return productTypeName1 + productTypeName2 + productTypeName3
|
|
|
}
|
|
|
},
|
|
@@ -75,6 +75,7 @@ export default {
|
|
|
isShow (newValue, oldValue) {
|
|
|
if (!newValue) {
|
|
|
this.$emit('close')
|
|
|
+ this.detailsData = null
|
|
|
}
|
|
|
},
|
|
|
itemId (newValue, oldValue) {
|