mirror of https://github.com/ElemeFE/element
				
				
				
			reset component.vue
							parent
							
								
									7414010203
								
							
						
					
					
						commit
						e0dae7eeb4
					
				| 
						 | 
				
			
			@ -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>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue