<commit_before><template>
	<div>
		<el-main>
			<el-form ref="form" label-width="80px">
				<el-form-item label="标题">
					<el-input></el-input>
				</el-form-item>
				<el-form-item label="简介">
					<el-input></el-input>
				</el-form-item>
				<el-form-item label="正文">
					<el-input type="textarea" :row="2" id="editor"></el-input>
				</el-form-item>
			</el-form>
		</el-main>
	</div>
</template>
<script type="text/javascript">
	import {default as SimpleMDE} from 'simplemde/dist/simplemde.min';

	export default {
		method() {
			console.log('new article component mounted.');
		},
		data() {
			return {
				simplemde: ""
			}
		},
		mounted() {
			this.simplemde = new SimpleMDE({
				element: document.getElementById('editor')
			})
		}
	}
</script>

<style>
    @import '~simplemde/dist/simplemde.min.css';
</style><commit_msg>improve Article.vue<commit_after><template>
	<div>
		<el-main>
			<el-form ref="form" label-width="80px">
				<el-form-item label="标题">
					<el-input></el-input>
				</el-form-item>
				<el-form-item label="简介">
					<el-input></el-input>
				</el-form-item>
				<el-form-item label="正文">
					<el-input type="textarea" :row="2" id="editor"></el-input>
				</el-form-item>
				<el-form-item label="tag">
				    <el-input type="input"></el-input>
				</el-form-item>
				<el-form-item>
				    <el-checkbox>原创请勾我</el-checkbox>
				</el-form-item>
				<el-button>保存</el-button>
				<!--<router-link to="/articles"><el-button>取消</el-button></router-link>-->
			</el-form>
		</el-main>
	</div>
</template>
<script type="text/javascript">
	import {default as SimpleMDE} from 'simplemde/dist/simplemde.min';
	import ElButton from "../../../../public/js/app";

	export default {
		components: {ElButton},
		method() {
			console.log('new article component mounted.');
		},
		data() {
			return {
				simplemde: ""
			}
		},
		mounted() {
			this.simplemde = new SimpleMDE({
				element: document.getElementById('editor')
			})
		}
	}
</script>

<style>
    @import '~simplemde/dist/simplemde.min.css';
</style>
{'fraction_non_alphanumeric': 0.21330724070450097, 'fraction_numerical': 0.0029354207436399216, 'mean_word_length': 2.910133843212237, 'pattern_counts': {'":': 0, '<': 66, '<?xml version=': 0, '>': 66, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4728347', 'n_tokens_mistral': 936, 'n_tokens_neox': 791, 'n_words': 125}