From 6f3168a729adee75a4c31fbb941be04083f80d2e Mon Sep 17 00:00:00 2001 From: chenshihai Date: Tue, 11 Oct 2022 15:46:33 +0800 Subject: [PATCH] update log download url --- templates/repo/modelsafety/show.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/repo/modelsafety/show.tmpl b/templates/repo/modelsafety/show.tmpl index e1e43e048..a963d80b9 100644 --- a/templates/repo/modelsafety/show.tmpl +++ b/templates/repo/modelsafety/show.tmpl @@ -775,6 +775,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'); + $('#-log-down').attr('href', oLogHref + `/modelsafety/${res.ID}/down_log_file`); if (res.ResultJson) { resultData = JSON.parse(res.ResultJson); }