diff --git a/src/components/player-detail.js b/src/components/player-detail.js index f9a19ee8..fefd1800 100644 --- a/src/components/player-detail.js +++ b/src/components/player-detail.js @@ -20,8 +20,8 @@ const PlayerDetail = (props) =>{ const data = db.get('players').find({id}).value() return( isNur?<> -
- +
+
{t(data.name)}
{t(data.charaName)}
@@ -36,7 +36,7 @@ const PlayerDetail = (props) =>{ :<>
- +
{t(data.charaName)}
{data.charaName}
diff --git a/src/pages/nurturing.js b/src/pages/nurturing.js index 56db9695..37a3fee7 100644 --- a/src/pages/nurturing.js +++ b/src/pages/nurturing.js @@ -16,7 +16,7 @@ import Support from './support.js' const {Column} = Table -const cdnServer = 'https://cdn.jsdelivr.net/gh/wrrwrr111/pretty-derby/public/' +const cdnServer = 'https://cdn.jsdelivr.net/gh/wrrwrr111/pretty-derby@master/public/' const NurturingSupport = (props)=>{ diff --git a/src/pages/nurturing2.js b/src/pages/nurturing2.js index 94fbc58e..f24e6c8f 100644 --- a/src/pages/nurturing2.js +++ b/src/pages/nurturing2.js @@ -18,7 +18,7 @@ import Player from './player.js' import Support from './support.js' -const cdnServer = 'https://cdn.jsdelivr.net/gh/wrrwrr111/pretty-derby/public/' +const cdnServer = 'https://cdn.jsdelivr.net/gh/wrrwrr111/pretty-derby@master/public/' const Nurturing = () =>{ @@ -183,7 +183,7 @@ const Nurturing = () =>{
{player.id? {player.imgUrl} : } diff --git a/src/pages/player.js b/src/pages/player.js index a1b503c2..295239a7 100644 --- a/src/pages/player.js +++ b/src/pages/player.js @@ -8,7 +8,7 @@ import PlayerDetail from '../components/player-detail.js' // const CheckboxGroup = Checkbox.Group // todo 提取出来 -const cdnServer = 'https://cdn.jsdelivr.net/gh/wrrwrr111/pretty-derby/public/' +const cdnServer = 'https://cdn.jsdelivr.net/gh/wrrwrr111/pretty-derby@master/public/' const PlayerCard = (props)=>{ const [isModalVisible, setIsModalVisible] = useState(false);