Administrator
2022-04-11 79d9fc857559982b00b68b2d709807bdc4cd286f
src/views/securityUnitChild/licence.vue
@@ -47,6 +47,7 @@
  },
  mounted() {
    this.seeImg();
    // console.log(this.row.licence);
  },
  comments: {
    srcList() {
@@ -62,8 +63,12 @@
        this.form.imgUrl = this.row.licence;
      }
    },
    saveLock(name, val) {
      window.localStorage.setItem(name, val);
    },
    uploadDelete(column, file) {
      this.row.licence = "";
      this.saveLock("danweidata", JSON.stringify(this.row));
      return update(this.row)
        .then(() => {
          this.$message({
@@ -82,6 +87,7 @@
    },
    uploadAfter(res, done, loading, column) {
      this.row.licence = res.url;
      this.saveLock("danweidata", JSON.stringify(this.row));
      update(this.row).then(
        () => {
          this.$message({