Crunchy
2024-04-24 873ec036ec89b681e253705c2e025278cadf58dc
src/components/tool/value-table.vue
@@ -892,6 +892,15 @@
               }
            }
            this.addLoad = true
        this.upHead.forEach((item,index)=>{
          if(this.data.cascaderField&&this.data.cascaderField[item.label]){
            if(this.upData[item.label]){
              this.upData[item.label] = this.upData[item.label].join(',');
            }else{
              this.upData[item.label] = ''
            }
          }
        })
            this.$axios.post(this.addUrl, this.upData, {
               headers: {
                  'Content-Type': 'application/json'
@@ -1050,7 +1059,7 @@
            return count * 15 + 60 + 'px'
         },
      handleSuccessUp(response,label){
        if(label){
        if(typeof label === 'string'){
          if(response.code==200){
            this.upData[label] = response.data.url;
          }