From 5b72fc7fdc5065c4d02cdf71ca3270044224368b Mon Sep 17 00:00:00 2001 From: Hayden <48267247+hayden-fr@users.noreply.github.com> Date: Tue, 17 Dec 2024 07:27:30 +0800 Subject: [PATCH] Optimize model library (#1739) * Adapt experiment models api * Add model preview --- .../tabs/modelLibrary/ModelTreeLeaf.vue | 26 +++++++++++++------ src/scripts/api.ts | 10 ++++--- src/stores/modelStore.ts | 14 +++++++--- tests-ui/tests/fast/store/modelStore.test.ts | 15 ++++++----- 4 files changed, 44 insertions(+), 21 deletions(-) diff --git a/src/components/sidebar/tabs/modelLibrary/ModelTreeLeaf.vue b/src/components/sidebar/tabs/modelLibrary/ModelTreeLeaf.vue index d8b6988e1..c47228bd7 100644 --- a/src/components/sidebar/tabs/modelLibrary/ModelTreeLeaf.vue +++ b/src/components/sidebar/tabs/modelLibrary/ModelTreeLeaf.vue @@ -2,13 +2,10 @@