26179
This commit is contained in:
@@ -148,12 +148,11 @@ export default {
|
||||
data() {
|
||||
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] || {}
|
||||
params.config = params.index > -1 ? params.filed : components.filter(v => v.type === params.filedType)[0]
|
||||
return {
|
||||
...params,
|
||||
isShowType: false,
|
||||
isShowAnswer: false,
|
||||
isShowAnswer: false
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -251,7 +250,7 @@ export default {
|
||||
this.config.options.splice(index, 1)
|
||||
},
|
||||
|
||||
back() {
|
||||
back() {
|
||||
uni.navigateBack({})
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user