common-form.js 533 Bytes
import api from '@/api/api'
import {
	httpGet,
	httpPost
} from '@/api/fetch-api.js'

export default {
	data() {
		return {
			key: 'value'
		}
	},
	components: {},
	computed: {
		locale() {
			return this.$i18n.locale || 'tc';
		},
		i18n() {
			return this.$i18n.messages && this.$i18n.locale ? this.$i18n.messages[this.$i18n.locale] : {};
		},
	},
	methods: {
		downloadHandle(item) {
			console.log(item);
			if (item.download) {
				location.href = item.download;
			}
		},
		initData() { }
	},
	mounted() { },
	created() { }
}