第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定

react-route ^4.1.2報錯?

./src/components/root.js
?Line 59: ?'hashHistory' is not defined ?no-undef
?Line 61: ?'IndexRoute' is not defined ? react/jsx-no-undef

import { Router, IndexRoute, Link, Route, browserHistory, hashHistory} from 'react-router';


let Root =React.createClass({
? ?render(){
? ? ? ?return(
? ? ? ? ? ?<Router history={hashHistory}>
? ? ? ? ? ? ? ?<Route path="/" component={App}>
? ? ? ? ? ? ? ? ? ?<IndexRoute component={Player}/>
? ? ? ? ? ? ? ? ? ?<Route path="/list" component={MusicList} />
? ? ? ? ? ? ? ?</Route>
? ? ? ? ? ?</Router>
? ? ? ?)
? ?}
});


正在回答

0 回答

舉報

0/150
提交
取消
使用React構(gòu)建一款音樂播放器
  • 參與學(xué)習(xí)       26493    人
  • 解答問題       156    個

從零開始使用React構(gòu)建一款音樂播放器

進入課程

react-route ^4.1.2報錯?

我要回答 關(guān)注問題
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號