Commit 3957b722 authored by 俞嘉婷's avatar 俞嘉婷

fix

parent 8b46754f
...@@ -172,7 +172,6 @@ class DetailPage extends React.Component<any, any> { ...@@ -172,7 +172,6 @@ class DetailPage extends React.Component<any, any> {
marketValue, yesterdayProfit, availableFunds, marketValue, yesterdayProfit, availableFunds,
sellInput, sellInput,
buyInput, buyInput,
firtIn
} = this.state; } = this.state;
const isBuy = tabType == EOpType.Buy; const isBuy = tabType == EOpType.Buy;
...@@ -238,7 +237,7 @@ class DetailPage extends React.Component<any, any> { ...@@ -238,7 +237,7 @@ class DetailPage extends React.Component<any, any> {
placeholder={`¥最低买入${minBuyLimit / 100}元`} placeholder={`¥最低买入${minBuyLimit / 100}元`}
type='text' type='text'
inputMode='decimal' inputMode='decimal'
value={firtIn ? (Number(buyInput) / 100) : buyInput} value={buyInput}
onChange={(e) => this.handleInputChange(e, 'buyInput')} onChange={(e) => this.handleInputChange(e, 'buyInput')}
/> />
<div className={styles.tip}>首次购买{minBuyLimit / 100}元起 <div className={styles.tip}>首次购买{minBuyLimit / 100}元起
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment