feat: format json in params-import

This commit is contained in:
夜鹰 2022-08-15 09:44:57 +08:00
parent 39b9c4f52c
commit 25972d9d0d

View File

@ -43,6 +43,8 @@ export class ParamsImportComponent {
return `name: Jack\nage: 12`;
case 'query':
return `/api?name=Jack&age=12`;
case 'json':
return `{ "name": "Jack", "age": 12}`;
default:
return `/api?name=Jack&age=12`;
}