|
@@ -56,7 +56,7 @@
|
|
|
<div class="answer">
|
|
|
<vxe-table max-height="300px" :cell-config="{ height: 45 }" :data="item.sqlAnswer">
|
|
|
<vxe-column type="seq" width="70" align="center"></vxe-column>
|
|
|
- <vxe-column v-for="item in sqlAnswerKey" minWidth="120px" :field="item" :title="item" :key="item" align="center"></vxe-column>
|
|
|
+ <vxe-column v-for="item in sqlAnswerKey" minWidth="120px" show-overflow :field="item" :title="item" :key="item" align="center"></vxe-column>
|
|
|
</vxe-table>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -347,11 +347,11 @@ export default {
|
|
|
question: data.question,
|
|
|
userId: data.userId
|
|
|
})
|
|
|
+ this.chatLoading = false
|
|
|
if (newData.sqlAnswer) {
|
|
|
this.sqlAnswerKey = Object.keys(newData.sqlAnswer[0])
|
|
|
}
|
|
|
this.chatInfo.push(newData)
|
|
|
- this.chatLoading = false
|
|
|
}
|
|
|
} catch (error) {}
|
|
|
},
|