mirror of
https://github.com/tenrok/vue2-datepicker.git
synced 2026-06-18 09:30:36 +03:00
fix
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// https://github.com/michael-ciniawsky/postcss-load-config
|
||||
|
||||
module.exports = {
|
||||
'plugins':{
|
||||
'autoprefixer': {}
|
||||
}
|
||||
}
|
||||
@@ -194,6 +194,7 @@ export default {
|
||||
return
|
||||
}
|
||||
this.$emit('input', cell.date)
|
||||
this.$emit('select')
|
||||
},
|
||||
selectYear (year) {
|
||||
const now = new Date(this.now)
|
||||
@@ -20,7 +20,7 @@
|
||||
ref="calendar"
|
||||
v-show="showPopup">
|
||||
<template v-if="!range">
|
||||
<calendar-panel v-model="currentValue" :show="showPopup"></calendar-panel>
|
||||
<calendar-panel @select="showPopup = false" v-model="currentValue" :show="showPopup"></calendar-panel>
|
||||
</template>
|
||||
<template v-else>
|
||||
<div class="datepicker-top">
|
||||
@@ -109,6 +109,9 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
selectDate (date) {
|
||||
|
||||
},
|
||||
closePopup () {
|
||||
this.showPopup = false
|
||||
},
|
||||
@@ -12,7 +12,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import DatePicker from './datepicker/index.vue'
|
||||
import DatePicker from '../datepicker/index.vue'
|
||||
|
||||
export default {
|
||||
name: 'app',
|
||||
Vendored
+2
-2
File diff suppressed because one or more lines are too long
+1
-1
@@ -2,7 +2,7 @@ var path = require('path')
|
||||
var webpack = require('webpack')
|
||||
|
||||
module.exports = {
|
||||
entry: './src/main.js',
|
||||
entry: './demo/main.js',
|
||||
output: {
|
||||
path: path.resolve(__dirname, './dist'),
|
||||
publicPath: '/dist/',
|
||||
|
||||
Reference in New Issue
Block a user