Browse Source

Merge pull request 'issue-1116-zpz' (#3178) from issue-1116-zpz into V20221116

Reviewed-on: https://git.openi.org.cn/OpenI/aiforge/pulls/3178
Reviewed-by: chenshihai <chenshh@pcl.ac.cn>
tags/v1.22.11.2^2
chenshihai 3 years ago
parent
commit
51eb07b596
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      templates/repo/modelsafety/show.tmpl

+ 2
- 1
templates/repo/modelsafety/show.tmpl View File

@@ -861,7 +861,8 @@
$('td.ti-text-form-content.spec div').text(specStr);
SPEC && $('td.ti-text-form-content.resorce_type div').text(getListValueWithKey(ACC_CARD_TYPE, SPEC.AccCardType));
}
var oLogHref = $('#-log-down').attr('href');
var repoPath = {{$.RepoRelPath}};
var oLogHref = `/api/v1/repos/${repoPath}/cloudbrain`;
$('#-log-down').attr('href', oLogHref + `/${res.ID}/download_log_file`);
$('.full-log-dialog').attr('data-href', oLogHref + `/${res.ID}/download_log_file`);
if (res.ResultJson) {


Loading…
Cancel
Save