Browse Source

fix: rate onchange event

richard1015 4 years ago
parent
commit
76152534d9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/packages/rate/demo.vue

+ 1 - 1
src/packages/rate/demo.vue

@@ -52,7 +52,7 @@ export default createDemo({
       val8: 3
     });
     const onChange = val => {
-      proxy.$toast.text(state.result);
+      proxy.$toast.text(val);
     };
     return {
       state,