【fix ESLint】src/views/system

This commit is contained in:
danshihao
2023-03-07 16:22:21 +08:00
parent 586837f1f6
commit 1eb59a3fd6
23 changed files with 159 additions and 159 deletions
+4 -4
View File
@@ -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>