소스 검색

mounted加载数据

xiaohaizhao 2 년 전
부모
커밋
1316d028a5
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      pages/index/index.vue

+ 1 - 0
pages/index/index.vue

@@ -48,6 +48,7 @@ export default {
 		this.getHeight('.cu-bar', this, false).then(res => {
 			this.tabHeight = res.height
 		})
+		this.loadElement()
 	},
 	methods: {
 		opentabControl(active) {