优化发布职位选择定位按钮

This commit is contained in:
冯辉
2025-11-14 12:08:45 +08:00
parent 70aa72930d
commit 9cda4eacb3
4 changed files with 110 additions and 5 deletions

View File

@@ -30,12 +30,12 @@ const useLocationStore = defineStore("location", () => {
if (config.UsingSimulatedPositioning) { // 使用模拟定位
longitudeVal.value = resd.longitude
latitudeVal.value = resd.latitude
msg('用户位置获取成功')
// msg('用户位置获取成功')
resole(resd)
} else {
longitudeVal.value = res.longitude
latitudeVal.value = res.latitude
msg('用户位置获取成功')
// msg('用户位置获取成功')
resole(res)
}
},