【fix ESLint】src/components/tools
This commit is contained in:
@@ -44,7 +44,6 @@ const responsive = {
|
|||||||
export default {
|
export default {
|
||||||
name: 'DetailList',
|
name: 'DetailList',
|
||||||
Item: Item,
|
Item: Item,
|
||||||
// eslint-disable-next-line vue/no-unused-components
|
|
||||||
components: { Col },
|
components: { Col },
|
||||||
props: {
|
props: {
|
||||||
title: {
|
title: {
|
||||||
|
|||||||
@@ -217,7 +217,6 @@ export default {
|
|||||||
},
|
},
|
||||||
websocketOnmessage: function (e) {
|
websocketOnmessage: function (e) {
|
||||||
console.log('-----接收消息-------', e.data)
|
console.log('-----接收消息-------', e.data)
|
||||||
// eslint-disable-next-line no-eval
|
|
||||||
const data = eval('(' + e.data + ')') // 解析对象
|
const data = eval('(' + e.data + ')') // 解析对象
|
||||||
if (data.cmd + '' === 'topic') {
|
if (data.cmd + '' === 'topic') {
|
||||||
// 系统通知
|
// 系统通知
|
||||||
|
|||||||
@@ -136,7 +136,6 @@ export default {
|
|||||||
compareToFirstPassword (rule, value, callback) {
|
compareToFirstPassword (rule, value, callback) {
|
||||||
const form = this.form
|
const form = this.form
|
||||||
if (value && value !== form.getFieldValue('password')) {
|
if (value && value !== form.getFieldValue('password')) {
|
||||||
// eslint-disable-next-line standard/no-callback-literal
|
|
||||||
callback(new Error('两次输入的密码不一样!'))
|
callback(new Error('两次输入的密码不一样!'))
|
||||||
} else {
|
} else {
|
||||||
callback()
|
callback()
|
||||||
|
|||||||
Reference in New Issue
Block a user