feat:更新上传文件组件

This commit is contained in:
2026-03-15 21:52:49 +08:00
parent d7d167f3e2
commit 1fb76fc220
20 changed files with 119 additions and 228 deletions

View File

@@ -12,7 +12,6 @@ import {
queryTravelSpotNameListApi, queryTravelStatsApi,
updateTravelRecordApi, updateTravelSpotApi
} from '@/apis/travel'
import { isMobile } from 'vue3-common/utils/layoutUtil'
export const useTravelStore = defineStore('travel', {
state: () => ({
@@ -151,10 +150,6 @@ export const useTravelStore = defineStore('travel', {
break
}
this.travelRecordDialog.visible = false
if (!isMobile()) {
await this.refreshInfo()
}
},
async refreshInfo() {
await this.queryTravelSpotList()