Commit 78fbd4749984f14c31dc1c8f5fd7ff4b418fa4ef

Authored by fengwotao
1 parent 008da888

fix:修复点击打开测试接口后关闭在打开,结果框还存在值的问题

... ... @@ -107,6 +107,10 @@
107 107 emits('emitExcute');
108 108 useThrottle();
109 109 isShowTestResult.value = true;
  110 + nextTick(() => {
  111 + jsonEditorRef.value?.setJsonValue('测试结果为');
  112 + jsonWebsocketEditorRef.value?.setJsonValue('测试结果为');
  113 + });
110 114 };
111 115
112 116 const useThrottle = useThrottleFn(() => {
... ...