Commit 4a0ebc6b43a7351fd085e309fc51687f823383aa

Authored by 谭毅彬
1 parent 11721ebb

接口日志页面显示优化

Signed-off-by: TanYibin <5491541@qq.com>
ant-design-vue-jeecg/src/views/system/monitor/ApiLogList.vue
... ... @@ -91,7 +91,7 @@
91 91 class="j-table-force-nowrap"
92 92 @change="handleTableChange"
93 93 >
94   - <template #expandedRowRender="record">
  94 + <template :slot="expandedRowRender" slot-scope="record">
95 95 <div style="margin: 0">
96 96 <div>
97 97 <a-badge status="default" style="vertical-align: text-bottom;"/>
... ... @@ -205,12 +205,16 @@ export default {
205 205 importExcelUrl: 'monitor/apiLog/importExcel'
206 206 },
207 207 dictOptions: {},
208   - superFieldList: []
  208 + superFieldList: [],
  209 + expandedRowRender: undefined
209 210 }
210 211 },
211 212 created() {
212 213 this.getSuperFieldList()
213 214 },
  215 + mounted() {
  216 + this.expandedRowRender = "expandedRowRender";
  217 + },
214 218 computed: {
215 219 importExcelUrl: function() {
216 220 return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`
... ...