mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-10 12:01:57 +08:00
fix: Load window for the first time (#1095)
This commit is contained in:
parent
4106cf24f9
commit
d75bd43965
@ -339,6 +339,10 @@ export default {
|
|||||||
return currentRecord
|
return currentRecord
|
||||||
},
|
},
|
||||||
isDocumentTab() {
|
isDocumentTab() {
|
||||||
|
if (this.isEmptyValue(this.windowMetadata)) {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
const panel = this.isEmptyValue(this.windowMetadata.currentTabUuid) ? '' : 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user