mirror of
https://github.com/getrebuild/rebuild.git
synced 2024-11-10 17:04:33 +08:00
parent
3458e67f48
commit
80d9e963da
4 changed files with 8 additions and 6 deletions
2
pom.xml
2
pom.xml
|
@ -10,7 +10,7 @@
|
|||
</parent>
|
||||
<groupId>com.rebuild</groupId>
|
||||
<artifactId>rebuild</artifactId>
|
||||
<version>3.0.0</version>
|
||||
<version>3.0.1</version>
|
||||
<name>rebuild</name>
|
||||
<description>Building your business-systems freely!</description>
|
||||
<!-- UNCOMMENT USE TOMCAT -->
|
||||
|
|
|
@ -65,11 +65,11 @@ public class Application implements ApplicationListener<ApplicationStartedEvent>
|
|||
/**
|
||||
* Rebuild Version
|
||||
*/
|
||||
public static final String VER = "3.0.0";
|
||||
public static final String VER = "3.0.1";
|
||||
/**
|
||||
* Rebuild Build [MAJOR]{1}[MINOR]{2}[PATCH]{2}[BUILD]{2}
|
||||
*/
|
||||
public static final int BUILD = 3000005;
|
||||
public static final int BUILD = 3000106;
|
||||
|
||||
static {
|
||||
// Driver for DB
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 1.4 KiB |
|
@ -207,7 +207,7 @@ class FeedsEditor extends React.Component {
|
|||
maxLength="2000"
|
||||
onFocus={() => this.setState({ focus: true })}
|
||||
onBlur={() => this.setState({ focus: false })}
|
||||
onKeyDown={(e) => this._handleInputAt(e)}
|
||||
onKeyUp={(e) => this._handleInputAt(e)}
|
||||
defaultValue={this.props.initValue}
|
||||
/>
|
||||
<div className="action-btns">
|
||||
|
@ -362,13 +362,15 @@ class FeedsEditor extends React.Component {
|
|||
}
|
||||
|
||||
_handleInputAt(e) {
|
||||
if (e.key === 'Shift' || e.key === 'Process') return true
|
||||
|
||||
if (this._handleInput__Timer) {
|
||||
clearTimeout(this._handleInput__Timer)
|
||||
this._handleInput__Timer = null
|
||||
}
|
||||
|
||||
this.__lastInputKey = e.key
|
||||
if (e.key === '@' || e.keyCode === 229) {
|
||||
if (e.key === '@') {
|
||||
this.__lastInputKey = '@'
|
||||
this._handleInput__Timer = setTimeout(() => this._UserSelector.toggle('show'), 400)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue