diff --git a/src/views/upload-image/upload-image.vue b/src/views/upload-image/upload-image.vue index dbf3ea59..946d7492 100644 --- a/src/views/upload-image/upload-image.vue +++ b/src/views/upload-image/upload-image.vue @@ -66,7 +66,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' import SelectedInfoBar from '@/views/upload-image/components/dir-info-bar/dir-info-bar.vue' @@ -76,7 +76,6 @@ const instance = getCurrentInstance() const gettingImagesRef: Ref = ref(null) const userConfigInfo = computed(() => store.getters.getUserConfigInfo).value -const userSettings = computed(() => store.getters.getUserSettings).value const globalSettings = computed(() => store.getters.getGlobalSettings).value const logoutStatus = computed(() => store.getters.getUserLoginStatus) @@ -129,7 +128,6 @@ const afterUploadSuccess = async (uploadedImg: UploadedImageModel[], isBatch: bo await store.dispatch('SET_USER_CONFIG_INFO', { viewDir: userConfigInfo.selectedDir }) - await starred(userSettings) } // 上传