Browse Source

format

fix-1601
lewis 3 years ago
parent
commit
c8d1eafcd7
3 changed files with 2 additions and 6 deletions
  1. +1
    -1
      Makefile
  2. +1
    -4
      routers/repo/modelarts.go
  3. +0
    -1
      web_src/js/components/MinioUploader.vue

+ 1
- 1
Makefile View File

@@ -104,7 +104,7 @@ GO_SOURCES := $(wildcard *.go)
GO_SOURCES += $(shell find $(GO_DIRS) -type f -name "*.go" -not -path modules/options/bindata.go -not -path modules/public/bindata.go -not -path modules/templates/bindata.go)

ifeq ($(filter $(TAGS_SPLIT),bindata),bindata)
GO_SOURCES += $(BINDATA_DEST);
GO_SOURCES += $(BINDATA_DEST)
endif

GO_SOURCES_OWN := $(filter-out vendor/% %/bindata.go, $(GO_SOURCES))


+ 1
- 4
routers/repo/modelarts.go View File

@@ -434,10 +434,7 @@ func NotebookDel(ctx *context.Context) {
ctx.RenderWithErr("the job has not been stopped", tplDebugJobIndex, nil)
return
}




_, err := modelarts.DelNotebook2(jobID)
if err != nil {
log.Error("DelNotebook2(%s) failed:%v", task.JobName, err.Error())


+ 0
- 1
web_src/js/components/MinioUploader.vue View File

@@ -101,7 +101,6 @@ export default {

this.dropzoneUploader = dropzoneUploader;
},

methods: {
resetStatus() {
this.progress = 0;


Loading…
Cancel
Save