修改已知问题

This commit is contained in:
qq787203167
2022-05-25 16:56:01 +08:00
parent 7ce2e16364
commit 17d9b02e0e
+8 -1
View File
@@ -9,6 +9,7 @@
:scroll="{x: true}"
:data-source="dataSource"
:loading="loading"
:rowClassName="rowClassName"
:columns="columns"
@change="tableOnChange"
>
@@ -124,7 +125,9 @@
this.getTableList()
},
methods: {
rowClassName(record) {
return record.state == '废止' ? 'rowClassNameBack' : ''
},
getTextWith(text, fontStyle) {
var canvas = document.createElement('canvas')
var context = canvas.getContext('2d')
@@ -245,6 +248,10 @@
.ant-table td {
white-space: nowrap;
}
.rowClassNameBack {
background: #f5f5f5;
}
</style>
<style scoped>
.box {