Skip to content

Commit

Permalink
chore: simplify uploaded operations
Browse files Browse the repository at this point in the history
  • Loading branch information
XPoet committed Mar 18, 2024
1 parent dbf7e7f commit 5552515
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/views/upload-image/upload-image.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ import {
UploadStatusEnum
} from '@/common/model'
import { batchCopyImageLinks, copyImageLink, getOSName } from '@/utils'
import { generateUploadImageObject, starred } from './upload-image.util'
import { generateUploadImageObject } from './upload-image.util'
import { uploadImagesToGitHub, uploadImageToGitHub } from '@/utils/upload-utils'
import UploadImageCard from './components/upload-image-card/upload-image-card.vue'
Expand Down Expand Up @@ -136,7 +136,6 @@ const afterUploadSuccess = async (uploadedImg: UploadedImageModel[], isBatch: bo
await store.dispatch('SET_USER_CONFIG_INFO', {
viewDir: userConfigInfo.selectedDir
})
await starred(userSettings)
}
// 上传
Expand Down

0 comments on commit 5552515

Please sign in to comment.