Browse Source

fix nut-range绑定的值无法更新到组件 #227

songqibin 5 years ago
parent
commit
92a0c94466
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/packages/range/range.vue

+ 3 - 0
src/packages/range/range.vue

@@ -107,6 +107,9 @@ export default {
   watch: {
     range() {
       this.init();
+    },
+    rangeValues() {
+      this.init();
     }
   },
   computed: {