liuyg
2021-09-24 c4e67a8942e514b65ab41bb19781d50576c15725
src/views/securityUnitChild/businessLicense.vue
@@ -62,8 +62,12 @@
        this.form.imgUrl = this.row.businessLicense;
      }
    },
    saveLock(name, val) {
      window.localStorage.setItem(name, val);
    },
    uploadDelete(column, file) {
      this.row.businessLicense = "";
      this.saveLock("danweidata", JSON.stringify(this.row));
      return update(this.row)
        .then(() => {
          this.$message({
@@ -83,6 +87,7 @@
    uploadAfter(res, done, loading, column) {
      // this.row.businessLicense = "";
      this.row.businessLicense = res.url;
      this.saveLock("danweidata", JSON.stringify(this.row));
      update(this.row).then(
        () => {
          this.$message({