Blame view

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


export default {
	data() {
		return {
simon committed
11 12
			key: 'value',
			qrcodeVisible: false,
simon committed
13 14 15 16 17
		}
	},
	components: {},
	methods: {
		toPage(name) {
simon committed
18 19
			document.documentElement.scrollTop = 0;
			document.body.scrollTop = 0;
simon committed
20 21 22 23
			this.$router.push({
				name: name
			})
		},
joe committed
24 25 26 27 28 29 30
		toPath(path){
			document.documentElement.scrollTop = 0;
			document.body.scrollTop = 0;
			this.$router.push({
				path: path
			})
		},
simon committed
31 32 33 34 35
		initData() {}
	},
	mounted() {},
	created() {}
}