소스 검색

bug修复

chenrui 3 년 전
부모
커밋
c85eb22d24
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/views/productManagement/productInfo/edit.vue

+ 3 - 0
src/views/productManagement/productInfo/edit.vue

@@ -218,6 +218,9 @@ export default {
           const productTypeSn2 = res.data.productTypeSn2 ? res.data.productTypeSn2 : ''
           const productTypeSn3 = res.data.productTypeSn3 ? res.data.productTypeSn3 : ''
           this.form.productType = [productTypeSn1, productTypeSn2, productTypeSn3]
+          if (res.data.productBrandName) {
+            this.fetchUser(res.data.productBrandName)
+          }
         } else {
           this.$refs.ruleForm.resetFields()
         }