fix(接口测试): 修改报告复制响应内容报错问题
This commit is contained in:
parent
55871dfd9d
commit
0775d973cf
|
@ -95,7 +95,7 @@
|
|||
|
||||
const resBodyRef = ref();
|
||||
function copyScript() {
|
||||
const encodingFormatValue = resBodyRef.value.responseEditorRef.getEncodingCode();
|
||||
const encodingFormatValue = resBodyRef.value[0].responseEditorRef.getEncodingCode();
|
||||
if (isSupported) {
|
||||
copy(encodingFormatValue || '');
|
||||
Message.success(t('common.copySuccess'));
|
||||
|
|
Loading…
Reference in New Issue