|
|
@ -208,8 +208,6 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
activeItemIndex(val) { |
|
|
|
console.log(this.isPublishLayer) |
|
|
|
console.log(val) |
|
|
|
if (this.isPublishLayer) { |
|
|
|
if (val == 0) { |
|
|
|
this.tabType = null |
|
|
@ -243,6 +241,12 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
mounted: function() { |
|
|
|
if (this.isPublishLayer) { |
|
|
|
if (this.activeItemIndex == 0) { |
|
|
|
this.tabType = null |
|
|
|
this.materialTypeNot = 2 |
|
|
|
} |
|
|
|
} |
|
|
|
this.getMaterialList() |
|
|
|
document.addEventListener('click', this.hiddenFolderActiveClick) |
|
|
|
}, |
|
|
|