From f8273495c51aa3f12f9f0cd784d0e1f877060c1e Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Wed, 27 Apr 2022 09:53:06 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B4=A0=E6=9D=90=E5=BA=93=20-=20layer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/content/material/materialList/index.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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) },