From 8792be67cf5791a4a3afc2f72fd8d7cfc3cff353 Mon Sep 17 00:00:00 2001 From: wangjuncheng <1> Date: 星期二, 15 四月 2025 15:20:28 +0800 Subject: [PATCH] change --- src/store/simulation.js | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/store/simulation.js b/src/store/simulation.js index 8fd427c..44797b3 100644 --- a/src/store/simulation.js +++ b/src/store/simulation.js @@ -47,13 +47,11 @@ // 鏂规鐩稿叧 const setSchemCard = (data) => { schemCard.value = data - console.log(schemCard,'aaaaaaaaaaaaaa'); - } // 娣诲姞鍗曚釜鏂规鏁版嵁 - const addSchemCardItem = (item) => { - schemCard.value.push(item) + const addSchemCard = (item) => { + schemCard.value.unshift(item) } // 鍒犻櫎鎸囧畾鏂规鏁版嵁 @@ -138,7 +136,7 @@ startMNPG, schemCard, setSchemCard, - addSchemCardItem, + addSchemCard, removeSchemCardItem, updateSchemCardItem, } -- Gitblit v1.9.3