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

export default {
	data() {
		return {
			key: 'value',
			type: 1, // 1:手机验证 2:输入密码
		}
	},
	components: {},
	computed: {
		locale() {
			return this.$i18n.locale || 'tc';
		},
		i18n() {
			return this.$i18n.messages && this.$i18n.locale ? this.$i18n.messages[this.$i18n.locale] : {};
		}
	},
	methods: {
		onCheckHandler() {

		},
		onProtocolHandler() {
			this.$router.push({
				path: "/protocol"
			})
		},
		onSubmitHandler() {
			this.type = 2;
		},
		onRegisterHandler() {

		},
		onForgetHandler() {

		},
		onLoginTypeHandler(val) {

		},
		initData() {}
	},
	mounted() {},
	created() {}
}