Skip to content

Commit

Permalink
fix(mobx-h5): 修复mobx中import不到Component的问题, fix #2561
Browse files Browse the repository at this point in the history
  • Loading branch information
Littly committed Mar 27, 2019
1 parent 61c600f commit 0097df0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/taro-mobx-h5/src/Provider.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Children } from 'nervjs'
import { Component } from '@tarojs/taro-h5'
import Taro from '@tarojs/taro-h5'
import { setStore } from '@tarojs/mobx-common'

export default class Provider extends Component {
export default class Provider extends Taro.Component {
constructor (props) {
super(props)
setStore(props.store)
Expand Down

0 comments on commit 0097df0

Please sign in to comment.