Commit d7bbedf1c9d02d5a03723ed464cfd32fb57a5582

Authored by xp.Huang
2 parents 008da888 78fbd474

Merge branch 'ft' into 'main_dev'

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

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