From 313081cbef68f563c9fe8923ca58ac8f0a14137a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=BE=E5=BF=97=E4=BC=9F?= <2405015284@qq.com> Date: Sun, 24 Mar 2024 18:42:26 +0800 Subject: [PATCH] test --- public/{mock.ico => favicon.ico} | Bin src/views/HomeView.vue | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) rename public/{mock.ico => favicon.ico} (100%) diff --git a/public/mock.ico b/public/favicon.ico similarity index 100% rename from public/mock.ico rename to public/favicon.ico diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 0c8ad62..c7975b8 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -275,7 +275,7 @@ const handleEditoActions = async (action: string) => { }; const handleAddMockItem = () => { - mockItemList.value.push({ + mockItemList.value.unshift({ basicInfo: { id: uuid(), path: '', @@ -333,6 +333,7 @@ const handleDeleteMockItem = async (mockItemId: string) => { // 处理mockItem被匹配到时的实际请求参数及匹配到的场景 const handleMockItemMatched = (arg: any) => { const { matchedScene, mockItemId, param } = arg; + console.log('matchedInfo', arg); mockItemMatchedParam.value[mockItemId] = { sceneName: matchedScene, param: JSON5.stringify(param, null, 2),