We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56e9819 commit 929c568Copy full SHA for 929c568
web/src/js/module/workbench/script/result.vue
@@ -17,9 +17,12 @@
17
:style="{'height': resultHeight}"
18
class="text-result-div">
19
<div v-if="result.bodyRows">
20
- <div
21
- v-for="(row, index) in result.bodyRows.split('\n')"
22
- :key="index">{{ row }}</div>
+ <!-- 数据格式不统一,先循环外部数据,再循环内部 -->
+ <div v-for="(item,index) in result.bodyRows" :key="index">
+ <div
23
+ v-for="(row, subindex) in item[0].split('\n')"
24
+ :key="subindex">{{ row }}</div>
25
+ </div>
26
</div>
27
<span
28
v-else
0 commit comments