Merge branch 'feat/liujie'

This commit is contained in:
2025-09-18 17:20:58 +08:00

View File

@@ -128,7 +128,7 @@ export default forwardRef(function GameManagePopup(props, ref) {
onClose(); onClose();
} }
function handleRepubGame () { function handleRepubGame() {
Taro.navigateTo({ Taro.navigateTo({
url: `/publish_pages/publishBall/index?gameId=${detail.id}&republish=1`, url: `/publish_pages/publishBall/index?gameId=${detail.id}&republish=1`,
}); });
@@ -199,9 +199,11 @@ export default forwardRef(function GameManagePopup(props, ref) {
<View className={styles.button} onClick={handleEditGame}> <View className={styles.button} onClick={handleEditGame}>
</View> </View>
{finished && (
<View className={styles.button} onClick={handleRepubGame}> <View className={styles.button} onClick={handleRepubGame}>
</View> </View>
)}
{!finished && ( {!finished && (
<View className={styles.button} onClick={handleCancelGame}> <View className={styles.button} onClick={handleCancelGame}>