Skip to content

Commit

Permalink
fixed: when click confirm button the page will refresh #36
Browse files Browse the repository at this point in the history
  • Loading branch information
weifeiyue committed Apr 2, 2018
1 parent bf61d54 commit c63b03b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/vue-datepicker-local.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/vue-datepicker-local.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-datepicker-local",
"version": "1.0.13",
"version": "1.0.14",
"description": "A datepicker for Vue.js",
"main": "src/index.js",
"files": [
Expand Down
4 changes: 2 additions & 2 deletions src/VueDatepickerLocal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<vue-datepicker-local-calendar v-model="dates[0]"></vue-datepicker-local-calendar>
</template>
<div v-if="showButtons" class="datepicker__buttons">
<button @click.stop="cancel" class="datepicker__button-cancel">{{this.local.cancelTip}}</button>
<button @click.stop="submit" class="datepicker__button-select">{{this.local.submitTip}}</button>
<button @click.prevent.stop="cancel" class="datepicker__button-cancel">{{this.local.cancelTip}}</button>
<button @click.prevent.stop="submit" class="datepicker__button-select">{{this.local.submitTip}}</button>
</div>
</div>
</transition>
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const path = require('path')
const webpack = require('webpack')
const ExtractTextPlugin = require('extract-text-webpack-plugin')
const banner =
'vue-datetime-local.js v1.0.13\n' +
'vue-datetime-local.js v1.0.14\n' +
'(c) 2017-' + new Date().getFullYear() + ' weifeiyue\n' +
'Released under the MIT License.'
module.exports = {
Expand Down

0 comments on commit c63b03b

Please sign in to comment.