Skip to content

Commit

Permalink
Merge pull request raxjs#184 from junmer/master
Browse files Browse the repository at this point in the history
fix(rax-icon): multi codePoints
  • Loading branch information
SoloJiang committed May 1, 2020
2 parents a933417 + da07001 commit c640483
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/rax-icon/package.json
@@ -1,6 +1,6 @@
{
"name": "rax-icon",
"version": "1.3.0",
"version": "1.3.1-beta.1",
"description": "icon component for Rax.",
"license": "BSD-3-Clause",
"main": "lib/index.js",
Expand Down
6 changes: 3 additions & 3 deletions packages/rax-icon/src/miniapp-wechat/index.ts
Expand Up @@ -65,12 +65,12 @@ Component({
family: fontFamily,
source: "url('" + uri + "')"
});
this.setData({
style: `font-family: ${fontFamily};${style}`
});
} else if (fontFile !== uri) {
console.error(`font-family ${fontFamily} should be unique!`);
}
this.setData({
style: `font-family: ${fontFamily};${style}`
});
}
}
},
Expand Down
6 changes: 3 additions & 3 deletions packages/rax-icon/src/miniapp/index.ts
Expand Up @@ -50,12 +50,12 @@ Component({
family: fontFamily,
source: "url('" + uri + "')"
});
this.setData({
styleSheet: {...style, fontFamily}
});
} else if (fontFile !== uri) {
console.error(`font-family ${fontFamily} should be unique!`);
}
this.setData({
styleSheet: {...style, fontFamily}
});
}
},
onTap(e) {
Expand Down

0 comments on commit c640483

Please sign in to comment.