【fix ESLint】src/views/system
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
@change="handleTableChange"
|
||||
>
|
||||
<!-- 字符串超长截取省略号显示-->
|
||||
<span slot="dataContent" slot-scope="text, record">
|
||||
<span slot="dataContent" slot-scope="text">
|
||||
<j-ellipsis :value="text" :length="80" />
|
||||
</span>
|
||||
</a-table>
|
||||
@@ -111,10 +111,10 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
handleCompare: function () {
|
||||
if (!this.selectionRows || this.selectionRows.length != 2) {
|
||||
if (!this.selectionRows || this.selectionRows.length !== 2) {
|
||||
this.openNotifIcon('请选择两条数据')
|
||||
return false
|
||||
} else if (this.selectionRows[0].dataId != this.selectionRows[1].dataId) {
|
||||
} else if (this.selectionRows[0].dataId !== this.selectionRows[1].dataId) {
|
||||
this.openNotifIcon('请选择相同的数据库表和数据ID进行比较')
|
||||
return false
|
||||
} else {
|
||||
@@ -134,5 +134,5 @@ export default {
|
||||
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user