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