Commit 8763545893976f83ca021d68de5ee4c1a37236f1
1 parent
b285d2a2
fix: DEFECT-1242 404设备ID测试请求应该返回未找到该资源
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -166,7 +166,7 @@ | @@ -166,7 +166,7 @@ | ||
166 | if (Object.prototype.toString.call(e) === '[object Object]') { | 166 | if (Object.prototype.toString.call(e) === '[object Object]') { |
167 | jsonEditorRef.value?.setJsonValue(e); | 167 | jsonEditorRef.value?.setJsonValue(e); |
168 | } else { | 168 | } else { |
169 | - jsonEditorRef.value?.setJsonValue(JSON.stringify(e)); | 169 | + jsonEditorRef.value?.setJsonValue('404未找到资源'); |
170 | } | 170 | } |
171 | } | 171 | } |
172 | } | 172 | } |