Commit 4a0ebc6b43a7351fd085e309fc51687f823383aa
1 parent
11721ebb
接口日志页面显示优化
Signed-off-by: TanYibin <5491541@qq.com>
Showing
1 changed file
with
6 additions
and
2 deletions
ant-design-vue-jeecg/src/views/system/monitor/ApiLogList.vue
@@ -91,7 +91,7 @@ | @@ -91,7 +91,7 @@ | ||
91 | class="j-table-force-nowrap" | 91 | class="j-table-force-nowrap" |
92 | @change="handleTableChange" | 92 | @change="handleTableChange" |
93 | > | 93 | > |
94 | - <template #expandedRowRender="record"> | 94 | + <template :slot="expandedRowRender" slot-scope="record"> |
95 | <div style="margin: 0"> | 95 | <div style="margin: 0"> |
96 | <div> | 96 | <div> |
97 | <a-badge status="default" style="vertical-align: text-bottom;"/> | 97 | <a-badge status="default" style="vertical-align: text-bottom;"/> |
@@ -205,12 +205,16 @@ export default { | @@ -205,12 +205,16 @@ export default { | ||
205 | importExcelUrl: 'monitor/apiLog/importExcel' | 205 | importExcelUrl: 'monitor/apiLog/importExcel' |
206 | }, | 206 | }, |
207 | dictOptions: {}, | 207 | dictOptions: {}, |
208 | - superFieldList: [] | 208 | + superFieldList: [], |
209 | + expandedRowRender: undefined | ||
209 | } | 210 | } |
210 | }, | 211 | }, |
211 | created() { | 212 | created() { |
212 | this.getSuperFieldList() | 213 | this.getSuperFieldList() |
213 | }, | 214 | }, |
215 | + mounted() { | ||
216 | + this.expandedRowRender = "expandedRowRender"; | ||
217 | + }, | ||
214 | computed: { | 218 | computed: { |
215 | importExcelUrl: function() { | 219 | importExcelUrl: function() { |
216 | return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}` | 220 | return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}` |