From 3ae3dee3d29a031ce5f6623bc00594f1d0ded43e Mon Sep 17 00:00:00 2001 From: Xu Zhimeng Date: Mon, 30 Oct 2023 15:15:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dstore=E4=B8=AD?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/sample.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/modules/sample.js b/src/store/modules/sample.js index f6b89a1..49cdf51 100644 --- a/src/store/modules/sample.js +++ b/src/store/modules/sample.js @@ -28,7 +28,7 @@ const sample = { state.sampleList.splice(findIndex, 1) }, - CLEAR_SAMPLE_DATA: () => { + CLEAR_SAMPLE_DATA: (state) => { state.sampleList = [] } },