Skip to content

Commit

Permalink
fix(validate): import regenerator-runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
Genuifx committed Mar 3, 2020
1 parent 1792e87 commit ce1f771
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/wxa-validate/src/utils/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import "regenerator-runtime/runtime";

export const parseRule = (rule) => {
let params = [];
const name = rule.split(':')[0];
Expand Down

0 comments on commit ce1f771

Please sign in to comment.