+
liuyg
2021-09-17 66d40d4c7e1410bbec6c32dcc891fa04de31d433
+
1 files modified
5 ■■■■■ changed files
src/views/securityUnitChild/licence.vue 5 ●●●●● patch | view | raw | blame | history
src/views/securityUnitChild/licence.vue
@@ -62,8 +62,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 +86,7 @@
    },
    uploadAfter(res, done, loading, column) {
      this.row.licence = res.url;
      this.saveLock("danweidata", JSON.stringify(this.row));
      update(this.row).then(
        () => {
          this.$message({