Browse Source

Fix: 图库管理编辑接口

chris 3 years ago
parent
commit
fd7b56398e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/modules/tech/draw-add-or-update.vue

+ 1 - 1
src/views/modules/tech/draw-add-or-update.vue

@@ -111,7 +111,7 @@
               }
             }
             this.$http({
-              url: this.$http.adornUrl(`/biz-service/drawing/save`),
+              url: !this.id ? this.$http.adornUrl(`/biz-service/drawing/save`) : this.$http.adornUrl(`/biz-service/drawing/update`),
               method: 'post',
               data: this.$http.adornData({...this.dataForm, orgId: this.orgId})
             }).then(({data}) => {