mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-01 11:38:57 +08:00
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
Block a user