Explorar el Código

mounted加载数据

xiaohaizhao hace 2 años
padre
commit
1316d028a5
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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) {