mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-10 12:01:57 +08:00
fix open window (#908)
Co-authored-by: elsiosanchez <elsiossanches@gmail.com>
This commit is contained in:
parent
82dec26729
commit
3c7d3e2669
@ -337,7 +337,7 @@ export default {
|
|||||||
return currentRecord
|
return currentRecord
|
||||||
},
|
},
|
||||||
isDocumentTab() {
|
isDocumentTab() {
|
||||||
const panel = this.$store.getters.getPanel(this.windowMetadata.currentTabUuid)
|
const panel = this.isEmptyValue(this.windowMetadata.currentTabUuid) ? '' : this.$store.getters.getPanel(this.windowMetadata.currentTabUuid)
|
||||||
if (!this.isEmptyValue(panel)) {
|
if (!this.isEmptyValue(panel)) {
|
||||||
return panel.isDocument
|
return panel.isDocument
|
||||||
}
|
}
|
||||||
@ -345,7 +345,7 @@ export default {
|
|||||||
return this.windowMetadata.firstTab.isDocument
|
return this.windowMetadata.firstTab.isDocument
|
||||||
},
|
},
|
||||||
isWorkflowBarStatus() {
|
isWorkflowBarStatus() {
|
||||||
const panel = this.$store.getters.getPanel(this.windowMetadata.currentTabUuid)
|
const panel = this.isEmptyValue(this.windowMetadata.currentTabUuid) ? '' : this.$store.getters.getPanel(this.windowMetadata.currentTabUuid)
|
||||||
if (!this.isEmptyValue(panel) && this.isDocumentTab && !this.isNewRecord) {
|
if (!this.isEmptyValue(panel) && this.isDocumentTab && !this.isNewRecord) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user