reset component.vue

This commit is contained in:
qingwei.li 2016-12-23 17:54:38 +08:00
parent 7414010203
commit e0dae7eeb4

View File

@ -1,25 +1,19 @@
<template>
<div>
<el-button>Test</el-button>
<el-date-picker v-model="abc" type="daterange" format="yyyy-MM" @change="eee"></el-date-picker>
</div>
</template>
<style scoped>
</style>
<script type="text/babel">
<script type="text/ecmascript-6">
export default {
methods: {
eee(a) {
console.log(a);
}
},
data() {
return {
abc: ''
};
return {};
}
};
</script>