Skip to content

Commit

Permalink
feat: restore display before show the new response (#153)
Browse files Browse the repository at this point in the history
feat: restore display before show the new response

when trigger a new action, restore the display editor before sending the
request,
then displays the response, improves the action reactions that user can
notice the displays content has updated

Refs: #150

---------

Signed-off-by: seven <[email protected]>
  • Loading branch information
Blankll authored Jan 7, 2025
1 parent 7f61feb commit 0b24df2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/views/editor/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ const executeQueryAction = async (position: { column: number; lineNumber: number
}
try {
displayJsonEditor('');
if (!established.value) {
message.error(lang.t('editor.establishedRequired'), {
closable: true,
Expand Down

0 comments on commit 0b24df2

Please sign in to comment.