From da9942cd74b890c8533f475e7b333105c2358f0a Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 07 九月 2021 14:10:28 +0800 Subject: [PATCH] 2021-09-07 --- src/menu/versions/index.jsx | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/menu/versions/index.jsx b/src/menu/versions/index.jsx index e664702..ab7ae02 100644 --- a/src/menu/versions/index.jsx +++ b/src/menu/versions/index.jsx @@ -64,7 +64,7 @@ notification.success({ top: 92, message: '鎵ц鎴愬姛銆�', - duration: 2 + duration: 1 }) if (updateConfig) { @@ -72,7 +72,7 @@ } else { setTimeout(() => { window.location.reload() - }, 2000) + }, 1000) } } }) @@ -110,7 +110,7 @@ notification.success({ top: 92, message: '鎵ц鎴愬姛銆�', - duration: 2 + duration: 1 }) if (updateConfig) { @@ -118,7 +118,7 @@ } else { setTimeout(() => { window.location.reload() - }, 2000) + }, 1000) } } }) @@ -143,9 +143,9 @@ <div className="header"><Icon type="question-circle"/>鐗堟湰鍒囨崲</div> <div className="detail">璇烽�夋嫨闇�瑕佸垏鎹㈢殑鐗堟湰锛屾垨鐐瑰嚮鍙栨秷鍏抽棴寮圭獥銆�</div> <div className="footer"> - <Button key="cancel" onClick={() => { this.setState({ visible: false })}}>鍙栨秷</Button> <Button key="pre" type="primary" loading={preconfirming} onClick={this.preVersion}>涓婁竴鐗堟湰</Button> <Button key="next" type="primary" loading={nextconfirming} onClick={this.nextVersion}>涓嬩竴鐗堟湰</Button> + <Button key="cancel" onClick={() => { this.setState({ visible: false })}}>鍙栨秷</Button> </div> </Modal> </div> -- Gitblit v1.8.0