BUG 26117

This commit is contained in:
aixianling
2021-12-29 14:11:58 +08:00
parent 0a06a076d6
commit 94f289511d

View File

@@ -149,6 +149,7 @@ export default {
let params = localStorage.getItem("toFiledConfig")
params && (params = JSON.parse(params))
localStorage.removeItem("toFiledConfig")
params.config = params.index > -1 ? params.filed : components?.filter(v => v.type === params.filedType)?.[0] || {}
return {
...params,
isShowType: false,
@@ -156,9 +157,6 @@ export default {
}
},
computed: {
config() {
return this.index > -1 ? this.filed : components?.filter(v => v.type === this.filedType)?.[0] || {}
},
pointTypeName() {
if (!this.config.pointDict) return ''