We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cee938 commit 8fdabe9Copy full SHA for 8fdabe9
src/components/ApiResponse.vue
@@ -109,11 +109,13 @@ export default defineComponent({
109
this.message = 'All metrics are valid!';
110
this.isError = false;
111
} else {
112
- this.message = 'Some metrics are invalid!\n';
+ this.message = 'Some metrics maybe are invalid, pls double check!\n';
113
this.isError = true;
114
+ let typeCounter = 1;
115
for (const [key, value] of Object.entries(results)) {
116
if (value.length > 0) {
- this.message += `${key}: ${JSON.stringify(value, null, 2)}\n`;
117
+ this.message += `\n${typeCounter}). ${key}:\n${JSON.stringify(value, null, 2)}\n`;
118
+ typeCounter++;
119
}
120
121
0 commit comments