fix: 修复重新发布球局入口条件判断
This commit is contained in:
@@ -128,7 +128,7 @@ export default forwardRef(function GameManagePopup(props, ref) {
|
||||
onClose();
|
||||
}
|
||||
|
||||
function handleRepubGame () {
|
||||
function handleRepubGame() {
|
||||
Taro.navigateTo({
|
||||
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>
|
||||
<View className={styles.button} onClick={handleRepubGame}>
|
||||
重新发布
|
||||
</View>
|
||||
{finished && (
|
||||
<View className={styles.button} onClick={handleRepubGame}>
|
||||
重新发布
|
||||
</View>
|
||||
)}
|
||||
{!finished && (
|
||||
<View className={styles.button} onClick={handleCancelGame}>
|
||||
取消活动
|
||||
|
||||
Reference in New Issue
Block a user