vue组件移动在DOM节点中的位置

mounted() {
	this.$nextTick(() => {
		const body = document.querySelector('body')
		body.append(body)
	})
}

你可能感兴趣的:(【Web前端】Vue)