Skip to content

Commit

Permalink
fix(model) refresh model on created
Browse files Browse the repository at this point in the history
  • Loading branch information
cirolosapio committed Dec 18, 2020
1 parent b2073cc commit 4af49bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "quasar-app-extension-q-date-picker",
"version": "v1.0.0",
"version": "v1.0.1",
"description": "QDatePicker - Quasar App Extension",
"author": "heartbeatLV <lscorionjs@gmail.com>",
"license": "MIT",
Expand Down
3 changes: 3 additions & 0 deletions src/component/QDatePicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ export default {
default: () => 'teal'
}
},
components: { DatePicker },
data () {
Expand All @@ -210,6 +211,8 @@ export default {
}
},
created () { this.refresh() },
computed: {
// date-picker models
selectedDate: {
Expand Down

0 comments on commit 4af49bf

Please sign in to comment.