odc.xiaohui
2023-04-14 15fccc0a1fedf1244516b108a4dc8a8acdfa3c7c
src/views/common/Publicity.vue
@@ -22,7 +22,7 @@
          <el-form-item>
            <el-upload name="multipartFile" class="upload-demo" action="/api/publicity/upload " :show-file-list="false"
                       :before-upload="beforeAvatarUpload" :on-success="respond" :limit="1">
              <el-button type="primary">导入</el-button>
<!--              <el-button type="primary">导入</el-button>-->
            </el-upload>
          </el-form-item>
        </el-form>
@@ -369,6 +369,7 @@
            if (!vaild) return this.$message.error('输入有误')
            let param = null;
            param = JSON.parse(JSON.stringify(this.addPublicityForm));
            console.log(param)
            param.photoStr = param.img.map(item => item.name).join(',');
            addPublicityList(param).then(res => {
                  this.$message({
@@ -456,4 +457,4 @@
.freePic ::v-deep .el-upload--picture-card {
  display: none;
}
</style>
</style>