临时提交

This commit is contained in:
lin
2025-10-15 15:57:25 +08:00
parent 1bc8a8f080
commit 68c20f127e
11 changed files with 339 additions and 117 deletions

View File

@@ -48,7 +48,7 @@ import {
stopPlayback,
pausePlayback,
resumePlayback,
seekPlayback, speedPlayback, getAllForMap, test
seekPlayback, speedPlayback, getAllForMap, test, saveLevel
} from '@/api/commonChannel'
const actions = {
@@ -572,6 +572,16 @@ const actions = {
})
})
},
saveLevel({ commit }, data) {
return new Promise((resolve, reject) => {
saveLevel(data).then(response => {
const { data } = response
resolve(data)
}).catch(error => {
reject(error)
})
})
},
test({ commit }) {
return new Promise((resolve, reject) => {
test().then(response => {