【fix ESLint】src/components/tools
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user