#1854 解决云脑2任务无数据集的时候显示问题以及界面高度自适应。

Merged
lewis merged 3 commits from zouap into V20220415 2 years ago
  1. +1
    -1
      routers/repo/modelarts.go
  2. +1
    -1
      templates/repo/modelarts/notebook/show.tmpl

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

@@ -279,7 +279,7 @@ func NotebookShow(ctx *context.Context) {
}
}

datasetDownloadLink := "-"
datasetDownloadLink := ""
if ctx.IsSigned {
if task.Uuid != "" && task.UserID == ctx.User.ID {
attachment, err := models.GetAttachmentByUUID(task.Uuid)


+ 1
- 1
templates/repo/modelarts/notebook/show.tmpl View File

@@ -119,7 +119,7 @@ td, th {
width: 800px;
overflow: hidden;
text-overflow: ellipsis;
height: 80px;
height: 20%;
word-break: break-all;
}
.redo-color{


Loading…
Cancel
Save