修改已知问题
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user