Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
贾志伟 committed Mar 24, 2024
1 parent fb73c93 commit 313081c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
File renamed without changes.
3 changes: 2 additions & 1 deletion src/views/HomeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ const handleEditoActions = async (action: string) => {
};
const handleAddMockItem = () => {
mockItemList.value.push({
mockItemList.value.unshift({
basicInfo: {
id: uuid(),
path: '',
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit 313081c

Please sign in to comment.