import {observable, action} from 'mobx'

class SearchStore {
    //查询结果
    @observable searchResult = {}

    @action setSearchResult = searchResult =>{

        //切换不同的tab,set不同的searchResult
        this.searchResult = searchResult
    }
}

export default new SearchStore()
