|
|
|
@@ -161,7 +161,7 @@ export default async function initCloudrainSow() { |
|
|
|
// |
|
|
|
$(".content-pad").on("click", ".load-model-file", function () { |
|
|
|
console.log("11111111111"); |
|
|
|
let version_name = $(this).data("version") || "result"; |
|
|
|
let version_name = $(this).data("version"); |
|
|
|
let parents = $(this).data("parents") || ""; |
|
|
|
let filename = $(this).data("filename") || ""; |
|
|
|
let init = $(this).data("init") || ""; |
|
|
|
@@ -176,7 +176,11 @@ export default async function initCloudrainSow() { |
|
|
|
$(`input[name=modelback${version_name}]`).val(version_name); |
|
|
|
$(`#file_breadcrumb${version_name}`).empty(); |
|
|
|
let htmlBread = ""; |
|
|
|
htmlBread += `<div class='active section'>${version_name}</div>`; |
|
|
|
if (version_name) { |
|
|
|
htmlBread += `<div class='active section'>${version_name}</div>`; |
|
|
|
} else { |
|
|
|
htmlBread += `<div class='active section'>result</div>`; |
|
|
|
} |
|
|
|
htmlBread += "<div class='divider'> / </div>"; |
|
|
|
$(`#file_breadcrumb${version_name}`).append(htmlBread); |
|
|
|
} else { |
|
|
|
|