From 1d23b79c3fcab5609391d9634b75c1fd33f74da8 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 <80892890+shaohuzhang1@users.noreply.github.com> Date: Thu, 25 Jul 2024 16:29:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E3=80=90=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E7=AE=A1=E7=90=86=E3=80=91=E5=90=91=E9=87=8F=E6=A8=A1?= =?UTF-8?q?=E5=9E=8B=E4=B8=8B=E8=BD=BD=E5=A4=B1=E8=B4=A5=E5=90=8E=EF=BC=8C?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=B8=8A=E7=9A=84=E5=85=B6=E4=BB=96=E6=A8=A1?= =?UTF-8?q?=E5=9E=8B=E4=B9=9F=E4=BC=9A=E6=98=BE=E7=A4=BA=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E7=8A=B6=E6=80=81=20(#872)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/views/template/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/views/template/index.vue b/ui/src/views/template/index.vue index 8f9f30c18..6a8c6a95b 100644 --- a/ui/src/views/template/index.vue +++ b/ui/src/views/template/index.vue @@ -112,7 +112,7 @@ const model_list = ref>([]) const updateModelById = (model_id: string, model: Model) => { model_list.value - .filter((m) => (m.id = model_id)) + .filter((m) => m.id == model_id) .forEach((m) => { m.status = model.status })