fix(系统管理-地图设置): 上传地图文件没有反应

This commit is contained in:
fit2cloud-chenyw
2022-08-02 17:06:51 +08:00
parent 7f9c3bc2e1
commit 809d2d8683
2 changed files with 9 additions and 4 deletions

View File

@@ -149,8 +149,13 @@ export default {
type: 'warning'
}).then(() => {
removeMap(param).then(res => {
this.$emit('refresh-tree')
this.$success(this.$t('commons.delete_success'))
this.$store.dispatch('map/setGeo', {
key: param.code,
value: null
}).then(() => {
this.$emit('refresh-tree')
this.$success(this.$t('commons.delete_success'))
})
})
}).catch(() => {
this.$info(this.$t('commons.delete_cancel'))