Blame view

src/components/home/footer/footer.js 370 Bytes
simon committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
import api from '@/api/api'
import {
	httpGet,
	httpPost
} from '@/api/fetch-api.js'


export default {
	data() {
		return {
			key: 'value'
		}
	},
	components: {},
	methods: {
		toPage(name) {
simon committed
17 18
			document.documentElement.scrollTop = 0;
			document.body.scrollTop = 0;
simon committed
19 20 21 22 23 24 25 26 27
			this.$router.push({
				name: name
			})
		},
		initData() {}
	},
	mounted() {},
	created() {}
}