|
@@ -13,7 +13,7 @@ const useGame = () => {
|
|
const pathname = usePathname();
|
|
const pathname = usePathname();
|
|
|
|
|
|
const getCoinType = (game: GameListRep, mode: number) => {
|
|
const getCoinType = (game: GameListRep, mode: number) => {
|
|
- const type = game.coin_types;
|
|
|
|
|
|
+ const type = game.coin_types!;
|
|
// 本金加彩金
|
|
// 本金加彩金
|
|
if (mode) return mode;
|
|
if (mode) return mode;
|
|
if (type & 1 || type & 2) {
|
|
if (type & 1 || type & 2) {
|