fix:修改 页面默认 为详细视图时 detailType 会变为 undefind的问题
This commit is contained in:
@@ -35,7 +35,7 @@ export default {
|
||||
this.$refs[detailType].bottomBox.targetTab = q.targetTab
|
||||
this.$refs[detailType].bottomBox.object = JSON.parse(q.selectObj)
|
||||
})
|
||||
} else if (this.detailType === 'view') {
|
||||
} else if (this.detailType === 'view' && q.detailType && q.selectObj) {
|
||||
this.detailType = q.detailType
|
||||
this.detailViewRightObj = JSON.parse(q.selectObj)
|
||||
this.$store.commit('setGlobalSearchId', this.detailViewRightObj.id)
|
||||
|
||||
Reference in New Issue
Block a user