Skip to content

Commit 0a11111

Browse files
committed
lint
Former-commit-id: fa33dd5
1 parent c61a0e6 commit 0a11111

File tree

13 files changed

+20
-20
lines changed

13 files changed

+20
-20
lines changed

src/components/d2-markdown/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export default {
7474
return (this.baidupan && bandupan(quote, this.$baseUrl)) || `<blockquote>${quote}</blockquote>`
7575
}
7676
return marked(data, {
77-
...this.highlight ? {highlight: (code) => highlight.highlightAuto(code).value} : {},
77+
...this.highlight ? { highlight: (code) => highlight.highlightAuto(code).value } : {},
7878
renderer
7979
})
8080
}

src/components/d2-quill/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export default {
6060
const text = this.Quill.getText()
6161
const quill = this.Quill
6262
this.$emit('input', html)
63-
this.$emit('change', {html, text, quill})
63+
this.$emit('change', { html, text, quill })
6464
})
6565
this.Quill.on('text-change', (delta, oldDelta, source) => {
6666
this.$emit('text-change', delta, oldDelta, source)

src/mock/api/sys/login/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const userDB = [
2121
}
2222
]
2323

24-
Mock.mock('/api/login', 'post', ({url, type, body}) => {
24+
Mock.mock('/api/login', 'post', ({ url, type, body }) => {
2525
const bodyObj = JSON.parse(body)
2626
const user = userDB.find(e => e.username === bodyObj.username && e.password === bodyObj.password)
2727
if (user) {

src/pages/demo/components/layout/grid.vue

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ export default {
3030
return {
3131
layout: {
3232
layout: [
33-
{'x': 0, 'y': 0, 'w': 4, 'h': 10, 'i': '0'},
34-
{'x': 4, 'y': 0, 'w': 2, 'h': 5, 'i': '1'},
35-
{'x': 6, 'y': 0, 'w': 4, 'h': 5, 'i': '2'},
36-
{'x': 10, 'y': 0, 'w': 2, 'h': 10, 'i': '3'},
37-
{'x': 4, 'y': 5, 'w': 4, 'h': 5, 'i': '4'},
38-
{'x': 8, 'y': 5, 'w': 2, 'h': 5, 'i': '5'},
39-
{'x': 0, 'y': 10, 'w': 8, 'h': 5, 'i': '6'},
40-
{'x': 8, 'y': 10, 'w': 4, 'h': 5, 'i': '7'}
33+
{ 'x': 0, 'y': 0, 'w': 4, 'h': 10, 'i': '0' },
34+
{ 'x': 4, 'y': 0, 'w': 2, 'h': 5, 'i': '1' },
35+
{ 'x': 6, 'y': 0, 'w': 4, 'h': 5, 'i': '2' },
36+
{ 'x': 10, 'y': 0, 'w': 2, 'h': 10, 'i': '3' },
37+
{ 'x': 4, 'y': 5, 'w': 4, 'h': 5, 'i': '4' },
38+
{ 'x': 8, 'y': 5, 'w': 2, 'h': 5, 'i': '5' },
39+
{ 'x': 0, 'y': 10, 'w': 8, 'h': 5, 'i': '6' },
40+
{ 'x': 8, 'y': 10, 'w': 4, 'h': 5, 'i': '7' }
4141
],
4242
colNum: 12,
4343
rowHeight: 30,

src/pages/demo/d2-crud/demo17/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export default {
118118
}
119119
},
120120
methods: {
121-
handleRowEdit ({index, row}, done) {
121+
handleRowEdit ({ index, row }, done) {
122122
this.formOptions.saveLoading = true
123123
setTimeout(() => {
124124
console.log(index)

src/pages/demo/d2-crud/demo18/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export default {
9696
}
9797
},
9898
methods: {
99-
handleRowRemove ({index, row}, done) {
99+
handleRowRemove ({ index, row }, done) {
100100
setTimeout(() => {
101101
console.log(index)
102102
console.log(row)

src/pages/demo/d2-crud/demo19/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export default {
7878
}
7979
},
8080
methods: {
81-
handleCustomEvent ({index, row}) {
81+
handleCustomEvent ({ index, row }) {
8282
console.log(index)
8383
console.log(row)
8484
}

src/pages/demo/d2-crud/demo20/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export default {
124124
}
125125
},
126126
methods: {
127-
handleRowEdit ({index, row}, done) {
127+
handleRowEdit ({ index, row }, done) {
128128
this.formOptions.saveLoading = true
129129
setTimeout(() => {
130130
console.log(index)

src/pages/demo/d2-crud/demo21/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export default {
108108
}
109109
},
110110
methods: {
111-
handleRowEdit ({index, row}, done) {
111+
handleRowEdit ({ index, row }, done) {
112112
this.formOptions.saveLoading = true
113113
setTimeout(() => {
114114
console.log(index)

src/pages/demo/d2-crud/demo26/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export default {
137137
handleDataChange (data) {
138138
console.log(data)
139139
},
140-
handleRowEdit ({index, row}, done) {
140+
handleRowEdit ({ index, row }, done) {
141141
this.formOptions.saveLoading = true
142142
setTimeout(() => {
143143
console.log(index)

0 commit comments

Comments
 (0)