Skip to content

Commit

Permalink
style: style: 格式化代码
Browse files Browse the repository at this point in the history
  • Loading branch information
aehyok committed Aug 22, 2022
1 parent c07d4c4 commit d7617a3
Show file tree
Hide file tree
Showing 10 changed files with 17,143 additions and 17,139 deletions.
65 changes: 33 additions & 32 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,32 +1,33 @@

#Ignore thumbnails created by Windows
Thumbs.db
#Ignore files built by Visual Studio
*.obj
*.exe
*.pdb
*.user
*.aps
*.pch
*.vspscc
*_i.c
*_p.c
*.ncb
*.suo
*.tlb
*.tlh
*.bak
*.cache
*.ilk
*.log
[Bb]in
[Dd]ebug*/
*.lib
*.sbr
obj/
[Rr]elease*/
_ReSharper*/
[Tt]est[Rr]esult*
.vs/
#Nuget packages folder
node_modules/

#Ignore thumbnails created by Windows
Thumbs.db
#Ignore files built by Visual Studio
*.obj
*.exe
*.pdb
*.user
*.aps
*.pch
*.vspscc
*_i.c
*_p.c
*.ncb
*.suo
*.tlb
*.tlh
*.bak
*.cache
*.ilk
*.log
[Bb]in
[Dd]ebug*/
*.lib
*.sbr
obj/
[Rr]elease*/
_ReSharper*/
[Tt]est[Rr]esult*
.vs/
#Nuget packages folder
node_modules/
dist/
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit
npx --no-install commitlint --edit $1
2 changes: 1 addition & 1 deletion apps/main-vite-app-ts/src/utils/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ instance.interceptors.response.use(

const request = (url, options = {}) => {
// post 请求
if (options.method == 'post') {
if (options.method === 'post') {
return instance
.request({
url,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const props = defineProps({
watch(
() => props.config,
(newValue, oldValue) => {
(newValue) => {
console.log(newValue, '新的属性值')
},
{
Expand Down
Loading

0 comments on commit d7617a3

Please sign in to comment.