feat:更新上传文件组件
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user