web/src/views/modules/basicInfo/XhProductModel-AddOrUpdate.vue
@@ -49,6 +49,7 @@ operatImgName: '', sort: '', equipType: '', namePath:'', status: '' } } @@ -73,9 +74,8 @@ this.getDefaultImg(this.dataForm.productType) } else { this.dataForm.pid = params.pid console.log(params.productType,'type') console.log(parseInt(params.productType),'parseInttype') this.dataForm.productType = parseInt(params.productType) this.dataForm.namePath= params.namePath this.getDefaultImg(this.dataForm.productType) } if (this.dataForm.productType === '10' && id == null) {