소스 검색

Fix: 图库管理编辑接口

chris 3 년 전
부모
커밋
fd7b56398e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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}) => {