footer.js 536 Bytes
import api from '@/api/api'
import {
	httpGet,
	httpPost
} from '@/api/fetch-api.js'


export default {
	data() {
		return {
			key: 'value',
			qrcodeVisible: false,
		}
	},
	components: {},
	methods: {
		toPage(name) {
			document.documentElement.scrollTop = 0;
			document.body.scrollTop = 0;
			this.$router.push({
				name: name
			})
		},
		toPath(path){
			document.documentElement.scrollTop = 0;
			document.body.scrollTop = 0;
			this.$router.push({
				path: path
			})
		},
		initData() {}
	},
	mounted() {},
	created() {}
}