提交 05848605 编写于 作者: fxy060608's avatar fxy060608

chore: npm run lint

上级 3fc572b5
...@@ -81,7 +81,7 @@ export default { ...@@ -81,7 +81,7 @@ export default {
feedback.show('slide-in-right') feedback.show('slide-in-right')
feedback.getTitleNView && feedback.getTitleNView &&
setTimeout(function () { setTimeout(function () {
let title = feedback.getTitleNView() const title = feedback.getTitleNView()
if (title) { if (title) {
title.drawText( title.drawText(
'发送', '发送',
...@@ -107,9 +107,9 @@ export default { ...@@ -107,9 +107,9 @@ export default {
}, },
_bindObjectListeners (data, value) { _bindObjectListeners (data, value) {
if (value) { if (value) {
for (let key in value) { for (const key in value) {
let existing = data.on[key] const existing = data.on[key]
let ours = value[key] const ours = value[key]
data.on[key] = existing ? [].concat(existing, ours) : ours data.on[key] = existing ? [].concat(existing, ours) : ours
} }
} }
...@@ -117,7 +117,7 @@ export default { ...@@ -117,7 +117,7 @@ export default {
} }
}, },
render (createElement) { render (createElement) {
let $listeners = Object.create(null) const $listeners = Object.create(null)
if (this.$listeners) { if (this.$listeners) {
Object.keys(this.$listeners).forEach(e => { Object.keys(this.$listeners).forEach(e => {
if (this.disabled && (e === 'click' || e === 'tap')) { if (this.disabled && (e === 'click' || e === 'tap')) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册