xyc
2024-07-24 d8cb08ce6b68b50d2475b70eb522ea6bbbb17686
web/src/views/modules/basicInfo/XhProductModel-AddOrUpdate.vue
@@ -84,8 +84,10 @@
          productType: selected
        }
        let res = await this.$http.get(`/sysPictureBase/getDefaultImg`, {params: params})
        this.dataForm.operatImgName = res.data.name
        this.dataForm.operatImg = res.data.id
        if (res.data){
          this.dataForm.operatImgName = res.data.name
          this.dataForm.operatImg = res.data.id
        }
      },
      selectPicture() {
        this.$refs.pictureSelect.$refs.dialog.init(this.dataForm.productType)