export let dataForm = {
	title: '',
	cover_img: '',
	doc_url: '',
	section_id: 0,
	content: '',
	stick_top: 0,
	hot: 0,
	author: ''
}

export let otherDataForm = {
	name: '',
	content: '',
}

export const reset = () => {
	dataForm = {
		title: '',
		cover_img: '',
		doc_url: '',
		section_id: 0,
		content: '',
		stick_top: 0,
		hot: 0,
		author: ''
	};
	otherDataForm = {
		name: '',
		content: '',
	}

	return { dataForm, otherDataForm }
}