Browse Source

mounted加载数据

xiaohaizhao 2 năm trước cách đây
mục cha
commit
1316d028a5
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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) {