From 96af391f20e5006a1fd1e7e75e73c040ee3bec2b Mon Sep 17 00:00:00 2001 From: lana-k Date: Tue, 2 Jan 2024 13:57:42 +0100 Subject: [PATCH] #115 clear message --- src/views/Main/Workspace/Tabs/Tab/RunResult/ValueViewer.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Main/Workspace/Tabs/Tab/RunResult/ValueViewer.vue b/src/views/Main/Workspace/Tabs/Tab/RunResult/ValueViewer.vue index d11d99b..3a60fa1 100644 --- a/src/views/Main/Workspace/Tabs/Tab/RunResult/ValueViewer.vue +++ b/src/views/Main/Workspace/Tabs/Tab/RunResult/ValueViewer.vue @@ -79,6 +79,7 @@ export default { }, watch: { currentFormat () { + this.messages = [] this.formattedJson = '' if (this.currentFormat === 'json') { this.formatJson(this.cellValue) @@ -92,7 +93,6 @@ export default { }, methods: { formatJson (jsonStr) { - this.messages = [] try { this.formattedJson = JSON.stringify( JSON.parse(jsonStr), null, 4