Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
feat: 可以通过外部修改组件样式
Browse files Browse the repository at this point in the history
  • Loading branch information
mushan0x0 committed Aug 5, 2021
1 parent 4356228 commit d74a667
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/remax-runtime/src/createComponentConfig.wechat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ import render from './render';

export default function createComponentConfig(Component: React.ComponentType<any>) {
const config: any = {
options: {
styleIsolation: 'apply-shared',
},

data: {
action: {},
root: {
Expand Down

0 comments on commit d74a667

Please sign in to comment.