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

export default {
	data() {
		return {
			key: 'value',
			title: "",
			content: "",
		}
	},
	components: {},
	methods: {
		initData() {
			httpGet({ url: api.companyOutline, data: { l: this.$i18n.locale } }).then(res => {
				this.content = res.content;
				this.title = res.title;
			});
		}
	},
	mounted() {
		this.initData();
	},
	created() { }
}