Browse Source

素材库 - layer

dev
xuhuajiao 3 years ago
parent
commit
f8273495c5
  1. 8
      src/views/content/material/materialList/index.vue

8
src/views/content/material/materialList/index.vue

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

Loading…
Cancel
Save