【fix ESLint】src/components/tools

This commit is contained in:
danshihao
2023-03-08 11:45:23 +08:00
parent cac94215f2
commit 13f70fe507
3 changed files with 0 additions and 3 deletions
@@ -44,7 +44,6 @@ const responsive = {
export default {
name: 'DetailList',
Item: Item,
// eslint-disable-next-line vue/no-unused-components
components: { Col },
props: {
title: {
@@ -217,7 +217,6 @@ export default {
},
websocketOnmessage: function (e) {
console.log('-----接收消息-------', e.data)
// eslint-disable-next-line no-eval
const data = eval('(' + e.data + ')') // 解析对象
if (data.cmd + '' === 'topic') {
// 系统通知
@@ -136,7 +136,6 @@ export default {
compareToFirstPassword (rule, value, callback) {
const form = this.form
if (value && value !== form.getFieldValue('password')) {
// eslint-disable-next-line standard/no-callback-literal
callback(new Error('两次输入的密码不一样'))
} else {
callback()