浏览代码

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()
         }