diff --git a/src/count-down/index.js b/src/count-down/index.js index f1da533..8907854 100644 --- a/src/count-down/index.js +++ b/src/count-down/index.js @@ -1,6 +1,11 @@ Component({ properties: { - target: Number, + target: { + type: Number, + observer: function(newVal, oldVal) { + this.getFormat() + } + }, showDay: Boolean, callback: String, format: Array,