Skip to content

Commit

Permalink
🐛 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ConardLi committed Jun 3, 2019
1 parent 9bc1de5 commit 2a89203
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main/static/window_trans.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

<body>
<header class='myHeader'>
<a class="close" href="javascript:window.close()">关闭窗口1</a>
<a class="close" href="javascript:window.close()">关闭窗口</a>
</header>
<div class='myBody'>
<p1>
Expand Down
2 changes: 1 addition & 1 deletion render/views/Window/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Window extends React.Component {
<div className={styles.demoContainer}>
<Alert className={styles.margin} message="点击打开一个普通窗口" type="info" />
<Button className={styles.margin} onClick={this.createWindow}>打开窗口</Button>
<Alert className={styles.margin} message="点击打开一个无框窗口(点击下面【关闭所有窗口】即可关闭)" type="success" />
<Alert className={styles.margin} message="点击打开一个无框窗口" type="success" />
<Button className={styles.margin} onClick={this.createWNoBarWindow}>打开窗口</Button>
<Alert className={styles.margin} message="点击打开一个带有状态栏的无框窗口" type="warning" />
<Button className={styles.margin} onClick={this.createNoBarWindowWithButton}>打开窗口</Button>
Expand Down

0 comments on commit 2a89203

Please sign in to comment.