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