refactor(接口测试): 优化图片显示返回类型
This commit is contained in:
parent
68d5f73290
commit
a5d002b894
|
@ -130,8 +130,7 @@ export default {
|
|||
'image/webp',
|
||||
'image/svg+xml',
|
||||
'image/apng',
|
||||
'image/avif',
|
||||
"application/octet-stream"
|
||||
'image/avif'
|
||||
],
|
||||
srcUrl: '',
|
||||
};
|
||||
|
|
|
@ -27,7 +27,7 @@ public class JMeterBase {
|
|||
private final static String SPLIT_EQ = "split==";
|
||||
private final static String SPLIT_AND = "split&&";
|
||||
|
||||
private static final List<String> imageList = Arrays.asList("image/png", "image/jpeg", "image/gif", "image/bmp", "image/webp", "image/svg+xml", "image/apng", "image/avif", "application/octet-stream");
|
||||
private static final List<String> imageList = Arrays.asList("image/png", "image/jpeg", "image/gif", "image/bmp", "image/webp", "image/svg+xml", "image/apng", "image/avif");
|
||||
|
||||
public static HashTree getHashTree(Object scriptWrapper) throws Exception {
|
||||
Field field = scriptWrapper.getClass().getDeclaredField("testPlan");
|
||||
|
|
Loading…
Reference in New Issue