Commit 6aa6bca7 authored by haiyoucuv's avatar haiyoucuv

init

parent 336d7c2c
......@@ -81,6 +81,17 @@ class DetailPage extends React.Component<any, any> {
return;
}
if(+buyInput * 100 < this.state.minBuyLimit){
Toast.show("低于起购价");
return;
}
const div = +buyInput * 100 / this.state.minBuyLimit;
if(div !== Math.floor(div)){
Toast.show("按起购倍数递增哦~");
return;
}
if (+buyInput * 100 > this.state.availableFunds) {
Toast.show("超出买入上限啦");
return;
......
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