export let dataForm = {
	name: '',
	path: '',
	action: '',
	module: '',
	p_type: '',
	parent_id: 0,
	description: '',
}

export let otherDataForm = {
	isAddLevel: false,
	isTopLevel: false,
	parent_id: 0
}

export const reset = () => {
	dataForm = {
		name: '',
		path: '',
		action: '',
		module: '',
		p_type: '',
		parent_id: 0,
		description: '',
	};
	otherDataForm = {
		isAddLevel: false,
		isTopLevel: false,
		parent_id: 0
	}

	return { dataForm, otherDataForm }
}