Skip to content

Commit c3d8347

Browse files
committed
update : 统一代码格式化
1 parent ec23867 commit c3d8347

File tree

96 files changed

+10156
-9998
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+10156
-9998
lines changed

.editorconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ root = true
55
# all files
66
[*]
77
charset = utf-8
8-
indent_style = space
8+
indent_style = tab
99
indent_size = 2
1010
end_of_line = lf
1111
insert_final_newline = true

src/.editorconfig

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# http://editorconfig.org
2+
3+
root = true
4+
5+
# all files
6+
[*]
7+
charset = utf-8
8+
indent_style = tab
9+
indent_size = 4
10+
end_of_line = lf
11+
insert_final_newline = true
12+
trim_trailing_whitespace = true
13+
14+
# md files
15+
[*.md]
16+
insert_final_newline = false
17+
trim_trailing_whitespace = false

src/App.vue

+18-18
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
<script>
2-
export default {
3-
onLaunch: function() {
4-
console.log('App Launch')
5-
},
6-
onShow: function() {
7-
console.log('App Show')
8-
},
9-
onHide: function() {
10-
console.log('App Hide')
11-
}
12-
}
13-
</script>
14-
15-
<style lang="scss">
16-
/* #ifndef APP-NVUE */
17-
@import './common/uni.css';
18-
/* #endif */
1+
<script>
2+
export default {
3+
onLaunch: function() {
4+
console.log('App Launch')
5+
},
6+
onShow: function() {
7+
console.log('App Show')
8+
},
9+
onHide: function() {
10+
console.log('App Hide')
11+
}
12+
}
13+
</script>
14+
15+
<style lang="scss">
16+
/* #ifndef APP-NVUE */
17+
@import './common/uni.css';
18+
/* #endif */
1919
</style>

0 commit comments

Comments
 (0)