diff --git a/src/views/content/material/materialList/index.vue b/src/views/content/material/materialList/index.vue index 92940be..20ef248 100644 --- a/src/views/content/material/materialList/index.vue +++ b/src/views/content/material/materialList/index.vue @@ -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) },