| | |
| | | </div> |
| | | <div class="component_view"> |
| | | <component class="com_index" v-for="(com, index) in tabs" :is="com.u" :key="com.k" v-show="com.k == tabActive" |
| | | :ref="`com-${com.k}`"> |
| | | :ref="`com-${com.k}`" :param="param"> |
| | | </component> |
| | | </div> |
| | | </div> |
| | |
| | | query:{}, |
| | | newMsg:false, |
| | | timer:null, |
| | | menuId: 0 |
| | | menuId: 0, |
| | | param:null, |
| | | }; |
| | | }, |
| | | created() { |
| | |
| | | if (ob.u == "") ob.u = "nullFace" |
| | | this.tabs.push(ob); |
| | | } |
| | | if(ob.param){ |
| | | this.param = this.HaveJson(ob.param) |
| | | this.param.textNum = Math.random(100) |
| | | }else{ |
| | | this.param = null |
| | | } |
| | | this.$refs['popoverName'].forEach(a=>{ |
| | | a.doClose() |
| | | }) |