Merge pull request '对区块链相关功能的修改' (#505) from Nigel/forgeplus-react:master_zxh into dev_nanda
This commit is contained in:
commit
266036cd2a
File diff suppressed because it is too large
Load Diff
|
|
@ -174,8 +174,8 @@
|
|||
"eslintConfig": {
|
||||
"extends": "react-app"
|
||||
},
|
||||
"proxy": "http://localhost:3000",
|
||||
"port": "3007",
|
||||
"proxy": "http://8.130.51.51:3021",
|
||||
"port": "3022",
|
||||
"devDependencies": {
|
||||
"@babel/runtime": "7.0.0-beta.51",
|
||||
"babel-cli": "^6.26.0",
|
||||
|
|
|
|||
|
|
@ -605,10 +605,10 @@ class Index extends Component {
|
|||
|
||||
{getFieldDecorator('blockchain_init_token', {
|
||||
rules: [{
|
||||
required: false, message: '请填写项目创始人获取token总数(单位:枚)'
|
||||
required: false, message: '请填写项目创始人获取token的百分比(%)'
|
||||
}],
|
||||
})(
|
||||
<Input type={'number'} min={0} max={100} step={1} placeholder="请填写项目创始人获去总token的百分比(%)" />
|
||||
<Input type={'number'} min={0} max={100} step={1} placeholder="请填写项目创始人获取token的百分比(%)" />
|
||||
)}
|
||||
</div>
|
||||
</Form.Item>
|
||||
|
|
|
|||
|
|
@ -43,12 +43,12 @@ class order_form extends Component {
|
|||
};
|
||||
}
|
||||
|
||||
getTokenProject = (user_id, owner_login, project_name) => {
|
||||
getTokenProject = (user_id, owner_login, project_identifier) => {
|
||||
const url = `/users/blockchain/balance_project`;
|
||||
axios.post(url,{
|
||||
user_id: user_id,
|
||||
owner_login: owner_login,
|
||||
project_name: project_name
|
||||
project_identifier: project_identifier
|
||||
}).then(result=>{
|
||||
if(result && result.data){
|
||||
this.state.issue_token_num = result.data.balance;
|
||||
|
|
|
|||
|
|
@ -401,14 +401,14 @@ class Infos extends Component {
|
|||
<i className="iconfont icon-shezhi4 font-15"></i>
|
||||
修改资料
|
||||
</Button>*/}
|
||||
<Button
|
||||
{/* <Button
|
||||
block
|
||||
className="text-button-grey ml-5"
|
||||
href={`/sponsor/${user && user.login}`}
|
||||
type="primary"
|
||||
>
|
||||
修改赞助信息
|
||||
</Button>
|
||||
</Button> */}
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue