diff --git a/view/package.json b/view/package.json index e207a80..ccb4992 100644 --- a/view/package.json +++ b/view/package.json @@ -1,6 +1,6 @@ { "name": "app-scan", - "version": "2.1.4", + "version": "2.1.5", "description": "自动化隐私检测工具", "productName": "app-scan", "author": "TongchengSecurityTeam ", diff --git a/view/src/pages/detection/page/Step.vue b/view/src/pages/detection/page/Step.vue index bcef73e..1d2b865 100644 --- a/view/src/pages/detection/page/Step.vue +++ b/view/src/pages/detection/page/Step.vue @@ -167,7 +167,7 @@ async function makeData(id) { if (data.mark[list[index].page]) { data.mark[list[index].page].push(list[index]); } else { - data.mark[list[index].page] = []; + data.mark[list[index].page] = [list[index]]; } } }